@@ -110,20 +110,20 @@ class PeriodIndex(DatetimeIndexOpsMixin, Int64Index):
110
110
111
111
Parameters
112
112
----------
113
- data : array-like (1-dimensional), optional
113
+ data : array-like (1-dimensional), optional
114
114
Optional period-like data to construct index with
115
115
dtype : NumPy dtype (default: i8)
116
- copy : bool
116
+ copy : bool
117
117
Make a copy of input ndarray
118
118
freq : string or period object, optional
119
119
One of pandas period strings or corresponding objects
120
120
start : starting value, period-like, optional
121
121
If data is None, used as the start point in generating regular
122
122
period data.
123
- periods : int, optional, > 0
123
+ periods : int, optional, > 0
124
124
Number of periods to generate, if generating index. Takes precedence
125
125
over end argument
126
- end : end value, period-like, optional
126
+ end : end value, period-like, optional
127
127
If periods is none, generated index will extend to first conforming
128
128
period on or just past end argument
129
129
year : int, array, or Series, default None
@@ -501,7 +501,6 @@ def shift(self, n):
501
501
----------
502
502
n : int
503
503
Periods to shift by
504
- freq : freq string
505
504
506
505
Returns
507
506
-------
@@ -970,8 +969,8 @@ def period_range(start=None, end=None, periods=None, freq='D', name=None):
970
969
971
970
Parameters
972
971
----------
973
- start :
974
- end :
972
+ start : starting value, period-like, optional
973
+ end : ending value, period-like, optional
975
974
periods : int, default None
976
975
Number of periods in the index
977
976
freq : str/DateOffset, default 'D'
0 commit comments