MAINT: Use module in _DeprecatedModule. by gfyoung · Pull Request #14181 · pandas-dev/pandas (original) (raw)
somethings wrong. so now dir(pandas.datetools)
works, but
from pandas.core.datetools import yearEnd
does not show a warning
nor does tab completion on the module
In [1]: from pandas.core.datetools import /Users/jreback/miniconda/lib/python2.7/site-packages/IPython/core/completerlib.py:158: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future ver.
m = __import__(mod)
ABCDataFrame BDay BMonthEnd businessDay cache_readonly CDay CustomBusinessHour DateParseError
ABCIndexClass bday BQuarterBegin BusinessHour CBMonthBegin cday customBusinessMonthBegin datetime
ABCSeries bmonthBegin BQuarterEnd BYearBegin cbmonthBegin compat customBusinessMonthEnd Day >
algos BMonthBegin bquarterEnd BYearEnd CBMonthEnd customBusinessDay D_RESO day
can you add some tests for this