Skip to content

incorrect docs: pd.NA ** 0 should return 1 #31003

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
tsvikas opened this issue Jan 14, 2020 · 3 comments · Fixed by #31015
Closed

incorrect docs: pd.NA ** 0 should return 1 #31003

tsvikas opened this issue Jan 14, 2020 · 3 comments · Fixed by #31015
Labels
Milestone

Comments

@tsvikas
Copy link
Contributor

tsvikas commented Jan 14, 2020

pd.NA ** 0 returns 1. which is correct, as far as I understand 1
However, the documents, line 832 incorrectly claims that pd.NA ** 0 returns 0.


1 although one can ask if NULL**0 should behave like NAN**0

@MarcoGorelli
Copy link
Member

Good catch :) Interested in opening a pull request?

@simonjayhawkins simonjayhawkins added this to the 1.0.0 milestone Jan 14, 2020
@tsvikas
Copy link
Contributor Author

tsvikas commented Jan 14, 2020

let's try!

@tsvikas
Copy link
Contributor Author

tsvikas commented Jan 14, 2020

Sorry, it seems that I forked off the wrong branch somehow. I'll try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants