Skip to content

Commit 019de0c

Browse files
jbrockmendelalanbato
authored andcommitted
Fix apparent copy/paste error skewness--> excess kurtosis (pandas-dev#17647)
1 parent fe192b2 commit 019de0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/nanops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def nanskew(values, axis=None, skipna=True):
565565

566566
@disallow('M8', 'm8')
567567
def nankurt(values, axis=None, skipna=True):
568-
""" Compute the sample skewness.
568+
""" Compute the sample excess kurtosis.
569569
570570
The statistic computed here is the adjusted Fisher-Pearson standardized
571571
moment coefficient G2, computed directly from the second and fourth

0 commit comments

Comments
 (0)