This commit is contained in:
Szymon Bartanowicz 2024-05-14 23:39:54 +02:00
parent 97ca282402
commit e1616fd376

View File

@ -12,6 +12,8 @@ data = pd.read_csv('./data/train.csv')
data = data[['Sex', 'Age', 'BodyweightKg', 'TotalKg']].dropna()
data['Age'] = pd.to_numeric(data['Age'], errors='coerce')
data['Age'] = pd.to_numeric(data['BodyweightKg'], errors='coerce')
data['Age'] = pd.to_numeric(data['TotalKg'], errors='coerce')
features = data[['Sex', 'Age', 'BodyweightKg']]
target = data['TotalKg']