Skip to content
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

Axes: axis="columns" versus axis=1 #312

Open
trevorcampbell opened this issue Nov 13, 2023 · 1 comment
Open

Axes: axis="columns" versus axis=1 #312

trevorcampbell opened this issue Nov 13, 2023 · 1 comment
Labels
low-priority needs-investigation Further information is requested

Comments

@trevorcampbell
Copy link
Contributor

trevorcampbell commented Nov 13, 2023

An alternative here is to say axis='columns' and then emphasize above that when we are applying a function row-wise it will go across all the columns which links to the name of this option (so that students don't think it should be called "rows" since it is "row-wise"). I'll let you pick what you think is clearer, just a possible alternative, I generally like naming the axes with a string instead of a number personally since I forget which is axis 0 and 1 constantly... (and I think there is some pandas function where they are confusingly inverted). There is a couple of occurences of this further down in case you decide to change it

Originally posted by @joelostblom in #301 (comment)

@trevorcampbell trevorcampbell added needs-investigation Further information is requested low-priority labels Nov 13, 2023
@trevorcampbell
Copy link
Contributor Author

Need to check how this would propagate throughout the book before doing. Not necessary for 1st edition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-priority needs-investigation Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant