Skip to content

Commit 61f0abd

Browse files
committed
Warning for pandas.core.categorical
1 parent be4e3eb commit 61f0abd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pandas/core/categorical.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import warnings
2+
3+
# TODO: Remove after 0.23.x
4+
warnings.warn("'pandas.core' is private. Use 'pandas.Categorical'",
5+
FutureWarning)
6+
7+
from pandas.core.arrays import Categorical # noqa

0 commit comments

Comments
 (0)