Q:

Write a Python program to create a plot to get a general Statistics of Iris data

0

Write a Python program to create a plot to get a general Statistics of Iris data.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

import pandas as pd
import matplotlib.pyplot as plt
iris = pd.read_csv("iris.csv")
iris.describe().plot(kind = "area",fontsize=16, figsize = (15,8), table = True, colormap="Accent")
plt.xlabel('Statistics',)
plt.ylabel('Value')
plt.title("General Statistics of Iris Dataset")
plt.show()

Sample Output:

contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now