Skip to content

Standardize docstrings to use pd.DataFrame/pd.Series #18770

Closed
@tdpetrou

Description

@tdpetrou

Problem description

All docstrings should be consistent with DataFrame/Series creation and use pd. to access them as this is what most users use. I was looking through pandas/core/frame.py and there are 9 instances of a docstring having df = DataFrame(...) vs 30 that have df = pd.DataFrame(...).

It would be nice to standardize this and possibly other similar inconsistencies - but this is the largest one that stood out.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions