Open LucaMingarelli opened 6 days ago
[X] Adding new functionality to pandas
[ ] Changing existing functionality in pandas
[ ] Removing existing functionality in pandas
The current implementation does not currently allow to plot weighted KDEs.
Estimation of the PDF is currently done via scipy.stats.gaussian_kde which allows for a parameter weights. pandas.DataFrame.plot.kde should accept this parameter as well.
weights
Here allow to pass a parameter weights to scipy.stats.gaussian_kde.
scipy.stats.gaussian_kde
No response
Hello, I am working on it.
Feature Type
[X] Adding new functionality to pandas
[ ] Changing existing functionality in pandas
[ ] Removing existing functionality in pandas
Problem Description
The current implementation does not currently allow to plot weighted KDEs.
Feature Description
Estimation of the PDF is currently done via scipy.stats.gaussian_kde which allows for a parameter
weights
. pandas.DataFrame.plot.kde should accept this parameter as well.Alternative Solutions
Here allow to pass a parameter
weights
toscipy.stats.gaussian_kde
.Additional Context
No response