Untitled
unknown
plain_text
a year ago
332 B
9
Indexable
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())
Editor is loading...
Leave a Comment