1.Write a Python program to create a graph to find relationship between the petal length and petal width.
from numpy import *
from matplotlib.pyplot import *
from pandas import *
df=read_csv("Iris.csv")
data=df['PetalLengthCm']
data1=df['PetalWidthCm']
plot(data,data1)
show()
Comments
Post a Comment