Skip to content

adding closed and dtype parameters in timedeltasIndex docs #49168

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

Closed
Closed
Changes from all commits
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
6 changes: 6 additions & 0 deletions pandas/core/indexes/timedeltas.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ class TimedeltaIndex(DatetimeTimedeltaMixin):
Make a copy of input ndarray.
name : object
Name to be stored in the index.
closed : arg ("left", "right")
It is a parameter that you choose between "left" or "right" for an interval data.
Using "left" or "right" specifies what period of time will be included in the interval
dtype: object
The parameter is from numpy that stands for data type, identifying the type of an
object that you want to know.

Attributes
----------
Expand Down