+2
-5
lines changedFilter options
+2
-5
lines changed Original file line number Diff line number Diff line change
@@ -7,6 +7,3 @@ ignore_errors=True
7
7
8
8
[mypy-pandas.core.indexes.datetimelike]
9
9
ignore_errors=True
10
-
11
-
[mypy-pandas.core.indexes.period]
12
-
ignore_errors=True
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ class PeriodIndex(DatetimeIndexOpsMixin, Int64Index, PeriodDelegateMixin):
80
80
81
81
Parameters
82
82
----------
83
-
data : array-like (1-dimensional), optional
83
+
data : array-like (1d integer np.ndarray or PeriodArray), optional
84
84
Optional period-like data to construct index with
85
85
copy : bool
86
86
Make a copy of input ndarray
@@ -168,7 +168,7 @@ class PeriodIndex(DatetimeIndexOpsMixin, Int64Index, PeriodDelegateMixin):
168
168
_is_numeric_dtype = False
169
169
_infer_as_myclass = True
170
170
171
-
_data = None # type: PeriodArray
171
+
_data = None
172
172
173
173
_engine_type = libindex.PeriodEngine
174
174
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4