Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c7dc49

Browse files
authored
Minor kde() docstring nit: make presentation order match the function signature (#116876)
1 parent 950667e commit 0c7dc49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ def pdf(x):
963963
supported = sample[i : j]
964964
return sum(K((x - x_i) / h) for x_i in supported) / (n * h)
965965

966-
pdf.__doc__ = f'PDF estimate with {kernel=!r} and {h=!r}'
966+
pdf.__doc__ = f'PDF estimate with {h=!r} and {kernel=!r}'
967967

968968
return pdf
969969

0 commit comments

Comments
 (0)