Skip to content

Commit b555613

Browse files
jbrockmendeljreback
authored andcommitted
Fix apparent copy/paste error skewness--> excess kurtosis (#17647)
1 parent 85a1067 commit b555613

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 numberOriginal file lineDiff line numberDiff line change
@@ -565,7 +565,7 @@ def nanskew(values, axis=None, skipna=True):
565

565

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

0 commit comments

Comments
 (0)