notebook.community
Edit and run
In [8]: import pandas as pd
import pandas as pd
In [9]: data = pd.read_csv('../data/car_insurance.csv')
data = pd.read_csv('../data/car_insurance.csv')
In [10]: data.columns
data.columns
Out[10]: Index(['firstname', 'lastname', 'age', 'city', 'state', 'country', 'zip', 'years_of_driving_license', 'claims_per_year'], dtype='object')
Index(['firstname', 'lastname', 'age', 'city', 'state', 'country', 'zip', 'years_of_driving_license', 'claims_per_year'], dtype='object')