AttributeError: module ‘pandas’ has no attribute ‘tslib’ 和 ImportError: cannot import name ‘Timestamp’ 解决:
进入ggplot文件夹下:
-
Change
pandas.tslib.Timestamp
topandas.Timestamp
(in utils.py and stats/smoothers.py) -
Change
from pandas.lib import Timestamp
tofrom pandas import Timestamp
. (in smoothers.py)
参考:https://github.com/yhat/ggpy/issues/662