-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: DataFrame.any()
and DataFrame.all()
documentation specifies the wrong return types
#57088
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
1 task done
Labels
Comments
Thanks for the report, agreed - cleaning this up would be most welcome! |
take |
5 tasks
take |
Hey, I'm new to open source but my interests lie in ML. Can I work on this issue? |
Hi is Can I Contribute to this issue please |
Hello! Can I contribute to this issue? |
lamprinikourou
added a commit
to lamprinikourou/pandas
that referenced
this issue
Mar 31, 2024
1 task
mroeschke
pushed a commit
that referenced
this issue
Apr 1, 2024
diogomsmiranda
pushed a commit
to diogomsmiranda/pandas
that referenced
this issue
Apr 1, 2024
…andas-dev#58091) * pandas-dev#57088: Changed ndim to 1, modified doc as suggested. * added tab
pmhatre1
pushed a commit
to pmhatre1/pandas-pmhatre1
that referenced
this issue
May 7, 2024
…andas-dev#58091) * pandas-dev#57088: Changed ndim to 1, modified doc as suggested. * added tab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.any.html
https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.all.html
Documentation problem
The documentation specifies that the return type is either a DataFrame or Series, but the code specifies a Series or bool.
Series
orbool
is correct, and thelevel
argument mentioned in the code no longer exists.Suggested fix for documentation
Returns:
DataFrame or scalar
If axis=None, then a scalar boolean is returned. Otherwise a
Series
is returned with index matching theindex
argument.The text was updated successfully, but these errors were encountered: