137 Vsec 6
137 Vsec 6
In [9]: df=sns.load_dataset("iris")
print(df)
In [10]: df.value_counts()
print(df)
In [11]: df.hist(bins=10,figsize=(10,8),color='red',edgecolor='black')
· 1-
I
25+---+----+---=· -1--+-------+--------- - ,IL-----------+-----+ ---- ,,
■I
-,+--t------t -------------- +-i 35
30 -1-1-------t ------- ''
20
15 20+----<f----
15 +--if----
10+--,f----
5
5
0 0
4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 2.0 2.5 3.0 3.5 4.0 4.5
petal_length petal_width
40
35
35
30
30
25
25
20
20
15
15
10 10
5 5
0
1 2 3 4 5 6 7 0.5 1.0 1.5 2.0 2.5