I am trying to plot a seaborn histogram on a Kaggle notebook in this way:
sns.distplot(myseries, bins=50, kde=True)
but I get this error:
TypeError: slice indices must be integers or None or have an __index__ method
Thi is the Kaggle notebook: https://www.kaggle.com/asindico/slice-indices-must-be-integers-or-none/
here is the series head:
0 5850000
1 6000000
2 5700000
3 13100000
4 16331452
Name: price_doc, dtype: int64