We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b56dd commit 7361df8Copy full SHA for 7361df8
pandas/core/indexes/period.py
@@ -391,16 +391,6 @@ def _int64index(self):
391
# ------------------------------------------------------------------------
392
# Index Methods
393
394
- def _coerce_scalar_to_index(self, item):
395
- """
396
- we need to coerce a scalar to a compat for our index type
397
-
398
- Parameters
399
- ----------
400
- item : scalar item to coerce
401
402
- return PeriodIndex([item], **self._get_attributes_dict())
403
404
def __array__(self, dtype=None):
405
if is_integer_dtype(dtype):
406
return self.asi8
0 commit comments