We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb15c0d commit e350b82Copy full SHA for e350b82
pandas/core/series.py
@@ -968,7 +968,7 @@ def _get_values(self, indexer):
968
# mpl compat if we look up e.g. ser[:, np.newaxis];
969
# see tests.series.timeseries.test_mpl_compat_hack
970
# the asarray is needed to avoid returning a 2D DatetimeArray
971
- return np.asarray(self._values[indexer])
+ return np.asarray(self._values)[indexer]
972
973
def _get_value(self, label, takeable: bool = False):
974
"""
0 commit comments