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

fix pandas tslib error #668

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ggplot/stats/smoothers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import numpy as np
from pandas.lib import Timestamp
from pandas import Timestamp
import pandas as pd
import statsmodels.api as sm
from statsmodels.nonparametric.smoothers_lowess import lowess as smlowess
Expand All @@ -11,7 +11,7 @@
import datetime

date_types = (
pd.tslib.Timestamp,
pd.Timestamp,
pd.DatetimeIndex,
pd.Period,
pd.PeriodIndex,
Expand Down
2 changes: 1 addition & 1 deletion ggplot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def is_iterable(obj):
return False

date_types = (
pd.tslib.Timestamp,
pd.Timestamp,
pd.DatetimeIndex,
pd.Period,
pd.PeriodIndex,
Expand Down