Krishna Nayak
Krishna Nayak

Reputation: 13

FutureWarning: pandas.tslib is deprecated and will be removed in a future version

Im trying to import MTcars dataset but im getting this error

enter image description here

Upvotes: 0

Views: 1932

Answers (1)

rgsoule
rgsoule

Reputation: 21

I just ran into this warning this morning. I was able to get rid of it by following these steps:

  1. Open command prompt and change directory to .../site-packages/ggplot/
  2. Enter utils.py and the file will open in your default program for .py files
  3. On line 81 change pd.tslib.Timestamp to pd.Timestamp
  4. Save the file

Upvotes: 2

Related Questions