Skip to content

DOC: Typo in the method "to_timedelta" doc #55947

Closed
@Shantanu25

Description

@Shantanu25

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/pandas-docs/stable/reference/api/pandas.to_timedelta.html

Documentation problem

The following line contains grammatical mistake:
Must not be specified when arg context strings and errors="raise".

The word "context" is wrong and does not mean anything in the sentence.

Suggested fix for documentation

Corrected line:
Must not be specified when arg contains strings and errors="raise".

The word "contains" fits better in the sentence.

Metadata

Metadata

Assignees

Labels

DocsNeeds TriageIssue that has not been reviewed by a pandas team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions