Skip to content

BUG/ENH: allow axis name aliasing #3109

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

Closed
jreback opened this issue Mar 20, 2013 · 1 comment
Closed

BUG/ENH: allow axis name aliasing #3109

jreback opened this issue Mar 20, 2013 · 1 comment
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Mar 20, 2013

http://stackoverflow.com/questions/15533093/pandas-access-axis-by-user-defined-name/15534409#15534409

not that this is user friendly, but

pd.DataFrame._AXIS_ALIASES['myaxis'1] = 0
pd.DataFrame._AXIS_ALIASES['myaxis2'] = 1

df.sum(axis='myaxis1')

should work but doesn't

@jreback
Copy link
Contributor Author

jreback commented Mar 21, 2013

PR #3110 fixes this

@jreback jreback closed this as completed Mar 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
Development

No branches or pull requests

1 participant