Can someone explain to me what \"bins\" in histogram are (the matplotlib hist function)? And assuming I need to plot the probability density function of some data, how do th
Bins are the number of intervals you want to divide all of your data into, such that it can be displayed as bars on a histogram. A simple method to work our how many bins are suitable is to take the square root of the total number of values in your distribution.