Skip to content

Commit 43e2176

Browse files
committed
share doc-string with base class
1 parent 7ef9974 commit 43e2176

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
@@ -346,27 +346,6 @@ def _validate_frequency(cls, index, freq, **kwargs):
346346

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

0 commit comments

Comments
 (0)