Skip to content

DOC: Supported Float dypes not documented #50216

Closed
@mcp292

Description

@mcp292

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/user_guide/basics.html#dtypes

Documentation problem

In the dtypes section a list of integer types are given, but not floating point types. According to pandas.to_numeric() under the downcast argument, it appears float32 is the smallest floating point type, which implies float16 is not documented.

In addition, the integer types are listed with capitalization, but it appears that capitalization does not matter, which is not documented.

Suggested fix for documentation

  1. List supported floating point types.
  2. Mention float16 not supported. (Could be implicitly solved by point 1.)
  3. Mention entries are not case-sensitive.
  4. Link to NumPy types.

Resulting from #50213.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions