wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Other
22.27k stars 15.19k forks source link

`DataFrame.mad()` has been deprecated #181

Open SpecterShell opened 1 year ago

SpecterShell commented 1 year ago

mad() has been deprecated since pandas 1.5 and no longer exists in pandas 2.0, while it is still listed in the table Table 5.8: Descriptive and summary statistics.

wesm commented 1 year ago

Thanks! I will fix this soon on wesmckinney.com/book and in the next errata-update of the print version (sometime in the next few months).