Skip to content

DOC: infer_dtypes document is inconsistent with behaviour regarding boolean #38375

Closed
@tsinggggg

Description

@tsinggggg

Location of the documentation

>>> infer_dtype([True, False, np.nan])

Documentation problem

In this example the return value should be 'boolean' as mentioned in this test case

arr = np.array([True, np.nan, False], dtype="O")

Suggested fix for documentation

change 'mix' to 'boolean'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions