-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Is your feature request related to a problem? Please describe.
A method like .reset_index has a signature .reset_index(dims_or_levels, drop=False).
This means that passing .reset_index("x", "y") is actually like passing .reset_index("x", True), which is silent and confusing.
Describe the solution you'd like
Move to kwarg-only arguments for these; like .reset_index(dims_or_levels, *, drop=False).
But we probably need a deprecation cycle, which will require some work.
Describe alternatives you've considered
Not have a deprecation cycle? I imagine it's fairly rare to not pass the kwarg.