Update dane.py
This commit is contained in:
parent
e28768f74c
commit
7896165633
2
dane.py
2
dane.py
@ -132,7 +132,7 @@ test.head()
|
||||
numeric_columns = train.select_dtypes(include=['number']).columns
|
||||
test[numeric_columns] = test[numeric_columns].fillna(test[numeric_columns].median().iloc[0])
|
||||
train[numeric_columns] = train[numeric_columns].fillna(train[numeric_columns].median().iloc[0])
|
||||
valid[numeric_columns] = valid[numeric_columns].fillna(valid[numeric_columns].iloc[0])
|
||||
valid[numeric_columns] = valid[numeric_columns].fillna(valid[numeric_columns].median().iloc[0])
|
||||
|
||||
test.head()
|
||||
test["HighRiskLastYear"].value_counts()
|
||||
|
Loading…
Reference in New Issue
Block a user