fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

Fix set_categories deprecation in 09_tabular.ipynb and clean/09_tabul…

Open OmarElghamry1 opened this issue 7 months ago • 1 comments

original: df['ProductSize'].cat.set_categories(sizes, ordered=True, inplace=True)

after: df['ProductSize'] = df['ProductSize'].cat.set_categories(sizes, ordered=True)

OmarElghamry1 avatar May 05 '25 04:05 OmarElghamry1

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB