From 91b8f5bc7f8741db925e37f316773a0a12bd9e2d Mon Sep 17 00:00:00 2001 From: keiyanishio Date: Tue, 18 Oct 2022 13:47:27 -0300 Subject: [PATCH] adding closed and dtype parameters in timedeltasIndex docs --- pandas/core/indexes/timedeltas.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandas/core/indexes/timedeltas.py b/pandas/core/indexes/timedeltas.py index 113f76a35e13f..6d63b28363080 100644 --- a/pandas/core/indexes/timedeltas.py +++ b/pandas/core/indexes/timedeltas.py @@ -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 ----------