boxplot boxplot boxplot can be viewed as graphical representation of the five-number summary of the data consisting of the minimummaximumand the firstsecondand third quartiles figure gives boxplot for the 'agefeature of the nutri data plt boxplot nutri ['age ']widths =width ,vertfalse plt xlabel ('age 'plt show (the widths parameter determines the width of the boxplotwhich is by default plotted vertically setting vert=false plots the boxplot horizontallyas in figure age figure boxplot for 'agethe box is drawn from the first quartile ( to the third quartile ( the vertical line inside the box signifies the location of the median so-called "whiskersextend to either side of the box the size of the box is called the interquartile rangeiqr the left whisker extends to the largest of (athe minimum of the data and (bq iqr similarlythe right whisker extends to the smallest of (athe maximum of the data and (bq iqr any data point outside the whiskers is indicated by small hollow dotindicating suspicious or deviant point (outliernote that boxplot may also be used for discrete quantitative features histogram histogram histogram is common graphical representation of the distribution of quantitative feature we start by breaking the range of the values into number of bins or classes we tally the counts of the values falling in each bin and then make the plot by drawing rectangles whose bases are the bin intervals and whose heights are the counts in python we can use the function plt hist for examplefigure shows histogram of the ages in nutriconstructed via the following python code weights np ones_like nutri age)nutri age count (plt histnutri age ,bins = weights =weights facecolor ='cyan 'edgecolor ='black 'linewidth = plt xlabel ('age 'plt ylabel ('proportion of total 'plt show (