Untitled
unknown
plain_text
15 days ago
332 B
2
Indexable
Never
import pandas as pd # Load the CSV file data = pd.read_csv('C:/Users/Panos/Downloads/training_data_car_ins.csv') # View the first few rows print(data.head()) X = data[['Age of Driver', 'Age of Licence', 'Age of Policy']] # select relevant features y = data['No Claims'] # select target print(data.describe())
Leave a Comment