following Python code to draw a box plot for all the numeric columns of the titanic dataset.
import pandas
from matplotlib import pyplot
df = pandas.read_csv("titanic.csv")
df.plot.box()
pyplot.savefig("titanic-box-plot.png")
pyplot.close()
The output box plot will look like the following:









































0 Comments