Drop only the rows whose rating is missing, leaving everything else
pandas · from Missing data
.isna().dropna().fillna().ffill()subset=thresh=pd.NAPutting the kettle on…
Starting up…
Exercise 3
Drop only the rows whose rating is missing, leaving everything else. The starter drops on any column — restrict it.
your answer
stuck? the lesson behind it
Missing data
Dropping and filling are different claims — and they give different answers.