-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: GH3109 fixed issues where passing an axis of 'columns' would fail #3110
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
Conversation
I'm thinking... why don't don't we create a milestone called "rug" and put |
I'm -1 on this. grokking the axis numbering is not that hard, my 2c. |
really ok the main issue is that some functions accept 0/1 and also index/columns I have also seen others want to use aliases maybe I'll just out that up as a recipe then |
That's a different matter. making the API more uniform - definitely. |
ok I'll separate this and maybe just leave a recipient (it's trivial really just set _AXIS_ALIASES) |
yeah, maybe doing the refactor and putting things in place without exposing |
I can easily remove the global set/clear (and make it recipe), but still thinking the local name setting is useful (2nd example) ? or does this make less clear?
|
ok, take it another angle : canonical names are unambiguous regardless of Perhaps names are preserved religiously everyhwere, I'm not sure because that's a tough In that sense, the global aliases are actually a cleaner concept, because they really |
you r of course right going to strip out everything but he bug fix always like features but then have to support |
I'm +1 on the other 150+ PR's you've made this month :) |
… expecting an axis number)
BUG: GH3109 fixed issues where passing an axis of 'columns' would fail
BUG: some operations were expecting an axis number, this fix allows passing the regular axis name as well, e.g.
df.sum(axis='columns')
will now worknote: narrowed the scope of this PR to just a bug fix