What’s the difference between Pandas plot.density and plot.kde?
Question:
Is there a the difference between the Pandas plot.density()
and plot.kde()
function?
Answers:
According to the Pandas API Reference, there is no difference between plot.density()
and plot.kde()
, other than their name. These 2 functions do exactly the same thing.
As mentioned by @RichieK in the comments, both API Reference pages take you to the same source code when you click on [source]
in the top right corner of the page. Thus confirming the functions are exactly the same.
Just wanted to add, in the source code you can find :
density = kde
Is there a the difference between the Pandas plot.density()
and plot.kde()
function?
According to the Pandas API Reference, there is no difference between plot.density()
and plot.kde()
, other than their name. These 2 functions do exactly the same thing.
As mentioned by @RichieK in the comments, both API Reference pages take you to the same source code when you click on [source]
in the top right corner of the page. Thus confirming the functions are exactly the same.
Just wanted to add, in the source code you can find :
density = kde