O'Reilly logo

Learning pandas - Second Edition by Michael Heydt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Estimates of distribution with the kernel density plot

A kernel density estimate plot, instead of being a pure empirical representation of the data by estimating the true distribution of the data which and smooths the data into a continuous plot. Kernel density estimation plots can be created by using the .plot() method and setting kind='kde'. The following code generates a normal distributed set of numbers, displays it as a histogram, and overlays the kde plot:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required