Skip to content

DOC: Improved the docstring of pandas.Series.dt.to_pytimedelta #20142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: Improved the docstring of pandas.Series.dt.to_pytimedelta
  • Loading branch information
ijmbarr committed Mar 10, 2018
commit c490ef4442622439fdb9a65a6d5a902eb198c002
4 changes: 2 additions & 2 deletions pandas/core/indexes/accessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def to_pytimedelta(self):
Return array of Timedeltas as `datetime.timedelta`.

Python's standard `datetime` library uses a different representation to
what pandas for differences between times. This method converts a Series
of pandas Timedeltas to `datetime.timedelta` format with
what pandas for differences between times. This method converts a
Series of pandas Timedeltas to `datetime.timedelta` format with
the same length as the original Series.

Returns
Expand Down