Untitled

 avatar
unknown
plain_text
10 months ago
332 B
6
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