diff --git a/notebooks/tutorials/pandas-cookbook/07-cleaning-up-messy-data.ipynb b/notebooks/tutorials/pandas-cookbook/07-cleaning-up-messy-data.ipynb index dab79f0c217..ca5ece7bcec 100644 --- a/notebooks/tutorials/pandas-cookbook/07-cleaning-up-messy-data.ipynb +++ b/notebooks/tutorials/pandas-cookbook/07-cleaning-up-messy-data.ipynb @@ -461,7 +461,7 @@ "outputs": [], "source": [ "na_values = [\"NO CLUE\", \"N/A\", \"0\"]\n", - "requests.replace(na_values, np.NaN)" + "requests.replace(na_values, np.nan)" ] }, {