Skip to content

DOC: DataFrame.hist documentation cuts off mid-sentence #41421

Closed
@asongtoruin

Description

@asongtoruin

Location of the documentation

pandas.DataFrame.hist

Documentation problem

The introduction to the documentation currently reads:

Make a histogram of the DataFrame’s.

A histogram is a representation of the distribution of data. This function calls matplotlib.pyplot.hist(), on each series in the DataFrame, resulting in one histogram per column.

As defined in pandas.plotting._core here. This first sentence seems incomplete - the DataFrame's what?

Suggested fix for documentation

The sentence should probably be completed, likely in a manner that matches pandas.DataFrame.plot.hist,
the simplest form of which is probably just

Make a histogram of the DataFrame's columns.

which might be a bit small to be its own PR, but could be wrapped together with marking column and figsize as optional parameters (currently also not reflected in the documentation)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions