Skip to content

Commit 74472ac

Browse files
jbrockmendelgasparitiago
authored andcommitted
PERF: tolist (pandas-dev#43823)
1 parent f965fa6 commit 74472ac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pandas/core/indexes/datetimelike.py

-6
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,6 @@ def _convert_tolerance(self, tolerance, target):
189189
tolerance = np.asarray(to_timedelta(tolerance).to_numpy())
190190
return super()._convert_tolerance(tolerance, target)
191191

192-
def tolist(self) -> list:
193-
"""
194-
Return a list of the underlying data.
195-
"""
196-
return list(self.astype(object))
197-
198192
# --------------------------------------------------------------------
199193
# Rendering Methods
200194

0 commit comments

Comments
 (0)