the above output shows that it created the histogram for each attribute in the dataset from thiswe can observe that perhaps agepedi and test attribute may have exponential distribution while mass and plas have gaussian distribution density plots another quick and easy technique for getting each attributes distribution is density plots it is also like histogram but having smooth curve drawn through the top of each bin we can call them as abstracted histograms example in the following examplepython script will generate density plots for the distribution of attributes of pima indian diabetes dataset from matplotlib import pyplot from pandas import read_csv path " :\pima-indians-diabetes csvnames ['preg''plas''pres''skin''test''mass''pedi''age''class'data read_csv(pathnames=namesdata plot(kind='density'subplots=truelayout=( , )sharex=falsepyplot show(output