-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: pandas.core.index #30193
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
DEPR: pandas.core.index #30193
Changes from all commits
5591cc2
c8b407c
c90feee
f8bbd08
eff0564
f9d69ca
921ba0a
bb96838
ab0dd27
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import warnings | ||
|
||
from pandas.core.indexes.api import ( # noqa:F401 | ||
CategoricalIndex, | ||
DatetimeIndex, | ||
|
@@ -19,3 +21,10 @@ | |
get_objs_combined_axis, | ||
) | ||
from pandas.core.indexes.multi import _sparsify # noqa:F401 | ||
|
||
# GH#30193 | ||
warnings.warn( | ||
"pandas.core.index is deprecated and will be removed in a future version. " | ||
"The public classes are available in the top-level namespace.", | ||
FutureWarning, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's start with a DeprecationWarning? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this has been around forever There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, opened an issue about it at fastparquet: dask/fastparquet#470 |
||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update the section that has our min supported version (in the whatsnew) (don't really need this issue line in that case)