@@ -68,20 +68,20 @@ class TimedeltaIndex(
68
68
):
69
69
"""
70
70
Immutable ndarray of timedelta64 data, represented internally as int64, and
71
- which can be boxed to timedelta objects
71
+ which can be boxed to timedelta objects.
72
72
73
73
Parameters
74
74
----------
75
75
data : array-like (1-dimensional), optional
76
- Optional timedelta-like data to construct index with
76
+ Optional timedelta-like data to construct index with.
77
77
unit : unit of the arg (D,h,m,s,ms,us,ns) denote the unit, optional
78
- which is an integer/float number
79
- freq : string or pandas offset object, optional
78
+ Which is an integer/float number.
79
+ freq : str or pandas offset object, optional
80
80
One of pandas date offset strings or corresponding objects. The string
81
81
'infer' can be passed in order to set the frequency of the index as the
82
- inferred frequency upon creation
82
+ inferred frequency upon creation.
83
83
copy : bool
84
- Make a copy of input ndarray
84
+ Make a copy of input ndarray.
85
85
start : starting value, timedelta-like, optional
86
86
If data is None, start is used as the start point in generating regular
87
87
timedelta data.
@@ -90,24 +90,24 @@ class TimedeltaIndex(
90
90
91
91
periods : int, optional, > 0
92
92
Number of periods to generate, if generating index. Takes precedence
93
- over end argument
93
+ over end argument.
94
94
95
95
.. deprecated:: 0.24.0
96
96
97
97
end : end time, timedelta-like, optional
98
98
If periods is none, generated index will extend to first conforming
99
- time on or just past end argument
99
+ time on or just past end argument.
100
100
101
101
.. deprecated:: 0.24. 0
102
102
103
- closed : string or None, default None
103
+ closed : str or None, default None
104
104
Make the interval closed with respect to the given frequency to
105
- the 'left', 'right', or both sides (None)
105
+ the 'left', 'right', or both sides (None).
106
106
107
107
.. deprecated:: 0.24. 0
108
108
109
109
name : object
110
- Name to be stored in the index
110
+ Name to be stored in the index.
111
111
112
112
Attributes
113
113
----------
0 commit comments