Skip to content

pd.to_datetime docstring needs upgrade #17973

Closed
@tdpetrou

Description

@tdpetrou

Problem description

pd.to_datetime has a very short non-descriptive docstring: Convert argument to datetime.

Using the term datetime is horribly confusing as there is a Python datetime, a NumPy datetime64 and a pandas Timestamp. Although, there is better documentation under the parameters, this needs to be expanded to more than 4 words.

Expected Output

Along with a more thorough explanation, It would be nice if there was consistency with how pandas refers to the triple-headed monster, datetime, datetime64 and Timestamp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions