question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pandas.lib module is deprecated and will be removed in a future version.

See original GitHub issue

For ggplot 0.11.5 (in anaconda for python 3.6.2) I get the warning

[...]/lib/python3.6/site-packages/ggplot/stats/smoothers.py:4: FutureWarning: The pandas.lib module is deprecated and will be removed in a future version. These are private functions and can be accessed from pandas._libs.lib instead from pandas.lib import Timestamp

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:12

github_iconTop GitHub Comments

3reactions
scaresnakecommented, May 25, 2018

In smoothers.py changing

from pandas.libs import Timestamp

to

from pandas._libs.tslibs.timestamps import Timestamp

resolved the issue for me.

0reactions
anirudhranicommented, Feb 24, 2021

Go to C:\Users\windows\anaconda3\Lib\site-packages\ggplot\stats\smoothers.py

Then, change

from pandas.lib import Timestamp to from pandas import Timestamp

Read more comments on GitHub >

github_iconTop Results From Across the Web

pandas.tslib is deprecated and will be removed in a future ...
I just ran into this warning this morning. I was able to get rid of it by following these steps: Open command prompt...
Read more >
Pandas.np depreciation warning - Forum
The pandas.np module is deprecated and will be removed from pandas in a future version. ... Also what is your Eikon and RDP...
Read more >
What's new in 1.4.0 (January 22, 2022) - Pandas
DataFrame.append() and Series.append() have been deprecated and will be removed in a future version. Use pandas.concat() instead (GH35407).
Read more >
Deprecated Python Library (pandas.core.datetools)
No, you don't need to fix it. It is just a warning. Hopefully it will disapear in future pandas' version.
Read more >
What's New In Python 3.11 — Python 3.11.1 documentation
Release, 3.11.1,, Date, December 21, 2022,, Editor, Pablo Galindo Salgado,. ... library modules have been deprecated and will be removed in Python 3.13....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found