mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Minor kde() docstring nit: make presentation order match the function signature (#116876)
This commit is contained in:
parent
950667ed07
commit
0c7dc494f2
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ def kde(data, h, kernel='normal'):
|
|||
supported = sample[i : j]
|
||||
return sum(K((x - x_i) / h) for x_i in supported) / (n * h)
|
||||
|
||||
pdf.__doc__ = f'PDF estimate with {kernel=!r} and {h=!r}'
|
||||
pdf.__doc__ = f'PDF estimate with {h=!r} and {kernel=!r}'
|
||||
|
||||
return pdf
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue