-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
CLN: __all__ for core/index.py #31082
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
Changes from 1 commit
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,6 +1,6 @@ | ||
import warnings | ||
|
||
from pandas.core.indexes.api import ( # noqa:F401 | ||
from pandas.core.indexes.api import ( | ||
CategoricalIndex, | ||
DatetimeIndex, | ||
Float64Index, | ||
|
@@ -20,7 +20,30 @@ | |
ensure_index_from_sequences, | ||
get_objs_combined_axis, | ||
) | ||
from pandas.core.indexes.multi import _sparsify # noqa:F401 | ||
from pandas.core.indexes.multi import _sparsify | ||
|
||
__all__ = [ | ||
"CategoricalIndex", | ||
"DatetimeIndex", | ||
"Float64Index", | ||
"Index", | ||
"Int64Index", | ||
"IntervalIndex", | ||
"InvalidIndexError", | ||
"MultiIndex", | ||
"NaT", | ||
"NumericIndex", | ||
"PeriodIndex", | ||
"RangeIndex", | ||
"TimedeltaIndex", | ||
"UInt64Index", | ||
"_new_Index", | ||
"ensure_index", | ||
"ensure_index_from_sequences", | ||
"get_objs_combined_axis", | ||
"_sparsify", | ||
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. I don't think the private methods I'm ok to merge it like this, if that's the case, but if you don't mind researching a bit, seeing where those are used, and adding at least a comment about this, that would be great. I'd probably move these imports at the end, so they are separated from the rest. |
||
] | ||
|
||
|
||
# GH#30193 | ||
warnings.warn( | ||
|
Uh oh!
There was an error while loading. Please reload this page.