Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas.tslib is deprecated and will be removed in a future version. #617

Open
Make42 opened this issue Aug 14, 2017 · 7 comments · May be fixed by #647
Open

pandas.tslib is deprecated and will be removed in a future version. #617

Make42 opened this issue Aug 14, 2017 · 7 comments · May be fixed by #647

Comments

@Make42
Copy link

Make42 commented Aug 14, 2017

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

[...]/lib/python3.6/site-packages/ggplot/utils.py:81: FutureWarning: pandas.tslib is deprecated and will be removed in a future version.

You can access Timestamp as pandas.Timestamp
  pd.tslib.Timestamp,
@jwhendy
Copy link

jwhendy commented Aug 26, 2017

Confirming. Just ran into this myself as I went to try ggplot for the first time. They're likely related, but I actually get a few:

[...]/lib/python3.5/site-packages/ggplot/utils.py:81: FutureWarning: pandas.tslib is deprecated and will be removed in a future version.
You can access Timestamp as pandas.Timestamp
  pd.tslib.Timestamp,
[...]/lib/python3.5/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
[...]/lib/python3.5/site-packages/statsmodels/compat/pandas.py:56: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.
  from pandas.core import datetools

System details:

$ python3 --version
Python 3.5.2

$ pip3 freeze |grep ggplot
ggplot==0.11.5

$ lsb_release --all
Description:	Ubuntu 16.04.3 LTS

If it's helpful, in searching I came across a similar issue in bokeh and this PR was used to fix it.

@djinnome
Copy link

djinnome commented Nov 2, 2017

I also get these warnings:

/Users/zuck016/.pyenv/versions/anaconda2-4.4.0/lib/python2.7/site-packages/ggplot/utils.py:81: FutureWarning: pandas.tslib is deprecated and will be removed in a future version.
You can access Timestamp as pandas.Timestamp
  pd.tslib.Timestamp,
/Users/zuck016/.pyenv/versions/anaconda2-4.4.0/lib/python2.7/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
/Users/zuck016/.pyenv/versions/anaconda2-4.4.0/lib/python2.7/site-packages/statsmodels/compat/pandas.py:56: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.
  from pandas.core import datetools

@asanakoy
Copy link

The same issue for new pandas and Python 2.7

@Make42
Copy link
Author

Make42 commented Feb 6, 2018

I am using https://github.com/has2k1/plotnine by now, which is actually maintained.

@giacman
Copy link

giacman commented Mar 4, 2018

I've go the same warnings with anaconda Python 3.6.4

@ghost
Copy link

ghost commented May 17, 2018

Also experiencing this over at https://www.github.com/kaggle/docker-python

@DzianisH
Copy link

The same issue on Python3

@mschmidtesd mschmidtesd linked a pull request Jun 21, 2018 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants