modin.pandas.TimedeltaIndex.mean

TimedeltaIndex.mean(*, skipna: bool = True, axis: AxisInt | None = 0) native_pd.Timestamp[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.21.0/src/snowflake/snowpark/modin/plugin/extensions/timedelta_index.py#L389-L414)

Return the mean value of the Array.

Parameters:
  • skipna (bool, default True) – Whether to ignore any NaT elements.

  • axis (int, optional, default 0) –

Return type:

scalar Timestamp

See also

numpy.ndarray.mean

Returns the average of array elements along a given axis.

Series.mean

Return the mean value in a Series.

Notes

mean is only defined for Datetime and Timedelta dtypes, not for Period.

Language: English