8000 ENH: Add skipna parameter to infer_dtype by cpcloud · Pull Request #17066 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

ENH: Add skipna parameter to infer_dtype #17066

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

Merged
merged 9 commits into from
Jul 25, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: versionadded tag
  • Loading branch information
cpcloud committed Jul 25, 2017
commit b4552c35592b761ded460fd83fa2a8a7c7ce9c20
2 changes: 2 additions & 0 deletions pandas/_libs/src/inference.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ def infer_dtype(object value, bint skipna=False):
skipna : bool, default False
Ignore NaN values when inferring the type.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

versionadded tag

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor thing: I would prefer that you still mention that we will change the default to True in the future, even if we don't deprecate now. What do you think?


.. versionadded:: 0.21.0

Returns
-------
string describing the common type of the input data.
Expand Down
0