You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that the problem is there are two nulls in the Embarked column of data/titanic.csv. You can either fill them in or add a fillna in the code, such as
# Adding Embarked categorical value
features = features.join( cat_to_num(data['Embarked'].fillna('Q')) )
MacOS 10.14 Mojave, python 3.7.
The cell
Gives
The text was updated successfully, but these errors were encountered: