Advertisements
Advertisements
प्रश्न
Name the plot which displays the statistical summary.
Note: Give appropriate title, set xlabel and ylabel while attempting the following questions.
कोड लेखन
Advertisements
उत्तर
The plot which displays the statistical summary of data is called a Box Plot (Box and Whisker Plot).
A box plot shows the minimum value, maximum value, median, and quartile values of a dataset.
import matplotlib.pyplot as plt
marks = [15, 18, 21, 22, 25]
plt.boxplot(marks)
plt.title("Statistical Summary of Student Marks")
plt.xlabel("Class 12 Students")
plt.ylabel("Marks Scored")
plt.show()
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
