-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: infer_dtypes document is inconsistent with behaviour regarding boolean #38375
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
Comments
Am I misunderstanding or this isn't a docs problem? infer_dtypes returns |
@arw2019 i think it actually returns boolean, as shown in the test case |
is the difference that one is a python list holding |
it seems even with a list it's returning boolean |
ok. Are you interested in submitting a PR with the correction? (I know that in .py files we verify the docstrings but maybe in .pyx we don't...) |
yes sure! |
Hello there, as I'm starting to work on some open source contributions, I'm happy to submit a PR with the correction. |
take |
@DonPablo99 hey i just assigned this to myself and i started working on it |
Location of the documentation
pandas/pandas/_libs/lib.pyx
Line 1315 in 0711b7a
Documentation problem
In this example the return value should be 'boolean' as mentioned in this test case
pandas/pandas/tests/dtypes/test_inference.py
Line 679 in 1db3aa2
Suggested fix for documentation
change 'mix' to 'boolean'
The text was updated successfully, but these errors were encountered: