-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
Include NumericIndex at top level and document it for version 2.0 #51020
Comments
I might be mistaken here, but I think the goal is to remove NumericIndex as well and to include everything in Index |
OK. I'm just basing this on what our tests in |
Hi, yes, the goal is to remove I have not given any attention so far to |
We'll take care of that. Once you close this issue, I'll know you've made the changes and can modify the stubs and associated tests. |
👍 |
@topper-123 I know you have done the work to remove
|
Hi @Dr-Irv. The original plan was actually to add The changes have been made now, and |
So the question is whether our failure to update that doc string means we are violating our own principles with respect to the deprecation policy. |
Since NumericIndex was never public I‘d say no. |
Yeah, In the 1.4 whatsnew we said:
and the deprecation message was:
In any case, that doc string should have been updated as well... |
I think that gives us enough coverage in case someone complains... |
We can still update the docs for 1.5.x |
-> #51238 |
With the removal of
IntegerIndex
,FloatIndex
, etc., and now promoting its replacementNumericIndex
, there are a couple of things to consider:NumericIndex
should appear inpandas.__init__.py
like the other Index types so thatpd.NumericIndex
works.https://pandas.pydata.org/docs/dev/reference/api/pandas.Index.html?highlight=numericindex
@topper-123 may be tracking this based on comments in #50908
The text was updated successfully, but these errors were encountered: