My code is
disagreements = pivoted[pivoted.movie_id.isin(top_50.index)]["diff"]
disagreements.order().plot(kind="bar", figsize=[10,15])
Error is
Series' object has no attribute 'order' currently trying this on spider,python3.6. anybody with a solution please
Please check the used Pandas library version. If you are using the latest one, you can use sort_values() method. For details, you can refer http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.sort_values.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With