Arunsalla/tabular-ml-classification-project
0
1import pandas as pd
2
3df = pd.read_csv('data/dataset.csv')
4print("Rows, Columns:", df.shape)
5print("Columns:", df.columns.tolist())
6print("First 5 rows:")
7print(df.head())
8
9if 'target' in df.columns:
10 print("Target distribution:")
11 print(df['target'].value_counts())
12else:
13 print("No column named 'target' - rename your label column to 'target' in the CSV or tell me the name.")
14 