Q. Write a program to create a boxplot from the following set of data :
34, 18, 100, 27, 54, 52, 93, 59, 61, 87, 68, 85, 78, 82, 91
Answer :-
import matplotlib.pyplot as pl A = [34, 18, 100, 27, 54, 52, 93, 59, 61, 87, 68, 85, 78, 82, 91] pl.boxplot (A, showmeans = True) pl.show()
Output :-
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )