Skip to content

Commit 03460b1

Browse files
DOC: update numpy/_core/fromnumeric.py
Co-authored-by: Joren Hammudoglu <[email protected]>
1 parent d86b502 commit 03460b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

numpy/_core/fromnumeric.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3885,6 +3885,7 @@ def mean(a, axis=None, dtype=None, out=None, keepdims=np._NoValue, *,
38853885
0.55000000074505806 # may vary
38863886
38873887
Computing the mean in timedelta64 is available:
3888+
38883889
>>> b = np.array([1, 3], dtype="timedelta64[D]")
38893890
>>> np.mean(b)
38903891
np.timedelta64(2,'D')

0 commit comments

Comments
 (0)