Skip to content

Commit e848b4d

Browse files
committed
share doc-string with base class
1 parent 7fa40ca commit e848b4d

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

pandas/core/arrays/datetimelike.py

-21
Original file line numberDiff line numberDiff line change
@@ -347,27 +347,6 @@ def _validate_frequency(cls, index, freq, **kwargs):
347347

348348
def _reduce(self, op, name, axis=0, skipna=True, numeric_only=None,
349349
filter_type=None, **kwargs):
350-
"""Return a scalar result of performing the op
351-
352-
Parameters
353-
----------
354-
op : callable
355-
function to apply to the array
356-
name : str
357-
name of the function
358-
axis : int, default 0
359-
axis over which to apply, defined as 0 currently
360-
skipna : bool, default True
361-
if True, skip NaN values
362-
numeric_only : bool, optional
363-
if True, only perform numeric ops
364-
filter_type : str, optional
365-
kwargs : dict
366-
367-
Returns
368-
-------
369-
scalar
370-
"""
371350
# if we have a reduction op already defined, use it
372351
# this is important for min/max where tz's must be preserved
373352
# and nanops is not geared towards this

0 commit comments

Comments
 (0)