Skip to content

Commit 869a69e

Browse files
committed
cleanup
1 parent 6faa27e commit 869a69e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pandas/core/arrays/datetimelike.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -342,21 +342,6 @@ def _validate_frequency(cls, index, freq, **kwargs):
342342
'does not conform to passed frequency {passed}'
343343
.format(infer=inferred, passed=freq.freqstr))
344344

345-
# ------------------------------------------------------------------
346-
# Reduction Methods
347-
348-
def _reduce(self, op, name, axis=0, skipna=True, numeric_only=None,
349-
filter_type=None, **kwargs):
350-
# if we have a reduction op already defined, use it
351-
# this is important for min/max where tz's must be preserved
352-
# and nanops is not geared towards this
353-
# TODO(jreback): we are ignoring skipna
354-
if hasattr(self, name):
355-
return getattr(self, name)()
356-
357-
# we dispatch to the nanops operations
358-
return op(self, axis=axis, skipna=skipna)
359-
360345
# ------------------------------------------------------------------
361346
# Arithmetic Methods
362347

0 commit comments

Comments
 (0)