Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
20 views
7 pages
Assignment 10
Sppu tutorial assignment
Uploaded by
Dev
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Assignment_10 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
20 views
7 pages
Assignment 10
Sppu tutorial assignment
Uploaded by
Dev
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Assignment_10 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 7
Search
Fullscreen
Data Visualization - II! import import import import dfispd.read_csv(*/content/iris.csv') dea Id Sepallengthcm Sepal 146 147 148 149 150 unpy as np pandas as pd Seaborn as sns matplotlib.pyplot as plt 150 rows x 6 columns 49 47 46 50 67 63 65 62 59 df=pd.DataFrane (df) df.head() 35 30 30 25 30 34 30 thm PetalLengthcm 14 14 Id SepallengthCm SepalWidthCm PetalLengthCm PetalWidthCm o1 12 23 df.describe() 1150,000000 54 4s 47 46 50 '150,000000 35 30 32 34 36 '150.000000 14 14 13 18 14 150.000000 92 02 02 02 02 Sp 02 ris-setosa 02 ris-setosa 02 tis-setosa 02 tis-setosa 02 ris-setosa 23 is-vicginica 18. is-vicginica 20. is-irginica 23 is-vicginica 18 is-virginica Species lris-setose lris-setose lris-setose lris-setose lris-setose Id SepalLengthCm SepalWidthcm PetallengthCm PetalWidthcm 150.00000¢Id SepallengthCm SepalWidthCm PetalLengthCm Petal mean 75,5000 5.843333 3.054000 3.758667 std 43.445368 0.828066 0.433594 1.764420 min 1.000000 4300000 2.000000 1.000000 25% —38.250000 5.100000 2.800000 1.600000 50% 75,500000 5.800000 3.000000 4350000 75% 112750000 6.400000 3.300000 5.100000 max 150,000000 7.900000 4.400000 6.900000 df.info()
RangeIndex: 150 entries, @ to 149 Data colunns (total 6 columns): Column Non-Nul1 Count Dtype 1d 150 non-null int64 SepalLengthcm 15@ non-null — floate4 SepalWidthCn 150 non-null floated PetalLengthCm 15@ non-null floated PetalWidthcn 158 non-null floate4 Species 150 non-null object dtypes: Floates(4), intes(1), object(1} nemory usage: 7.2+ KB df.colunns Index(['Id', ‘SepalLengthCm', ‘SepalWidthCn’, ‘PetalLengthCm', ‘PetalWidthcm', Species'], dtype=" object") df['SepalLengthCm’ ].max() 7.9 dF["SepalLengthcm' ].min() 43 df['SepalLengthCn' ].hist(bins=30)
hcm 1.198667 9.763161 9.100000 9.300000 1.300000 1.800000 2.500000df[‘PetalLengthCm’ ].max() * 6.9 in af "PetalLengthcn’ ].min() 1.e d€['PetalLengthCn' ].hist(bins=30)
B 2» i df['PetalWigthcn ].max() 25 df['PetalWidthcn' ].min() a1df['PetalWidthcn' ].hist(bins=30)
00 05, 10 15 20 25 df['SepalWidthcn’ ].max() 4.4 dF SepalWidthcn® }.min() 2.8 df['SepalWidthcn’ ] hist (bin: 8)
B 2 df[ Species’ ] .value_counts()5@ Iris-versicolor 58 Inis-virginica 5@ Name: Species, dtype: int64 i d€[ Species" ] .hist (bin: 2)
50 “ 0 ° Iris-setosa Irisersicolor Iris-irginica . ‘sns. boxplot (x='SepalLengthCn’ ,data=dF)
45 50 55 60 65 70 75 80 Sepaltengtncm sns. boxplot (x='SepalWidthCn' ,data=df)
vee 20 25 30 35 40 a5 ‘epatwiathcm sns.boxplot (x='PetalLengthCn’ , data-d#)
3 a 5 é 7 Petaltengthcm sn. boxplot (x="PetalWidthcn' ,data-df)
oo 05 10 15 20 25 Petalwigthcm
You might also like
Manhattan Beach: A Novel
From Everand
Manhattan Beach: A Novel
Jennifer Egan
3.5/5 (919)
The Yellow House: A Memoir (2019 National Book Award Winner)
From Everand
The Yellow House: A Memoir (2019 National Book Award Winner)
Sarah M. Broom
4/5 (100)
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
From Everand
A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
Dave Eggers
3.5/5 (233)
The Constant Gardener: A Novel
From Everand
The Constant Gardener: A Novel
John le Carré
4/5 (278)
Angela's Ashes: A Memoir
From Everand
Angela's Ashes: A Memoir
Frank McCourt
4.5/5 (943)
The Art of Racing in the Rain: A Novel
From Everand
The Art of Racing in the Rain: A Novel
Garth Stein
4/5 (4372)
The Perks of Being a Wallflower
From Everand
The Perks of Being a Wallflower
Stephen Chbosky
4.5/5 (4102)
The Unwinding: An Inner History of the New America
From Everand
The Unwinding: An Inner History of the New America
George Packer
4/5 (45)
Sing, Unburied, Sing: A Novel
From Everand
Sing, Unburied, Sing: A Novel
Jesmyn Ward
4/5 (1267)
A Tree Grows in Brooklyn
From Everand
A Tree Grows in Brooklyn
Betty Smith
4.5/5 (2033)
Yes Please
From Everand
Yes Please
Amy Poehler
4/5 (2016)
Little Women
From Everand
Little Women
Louisa May Alcott
4.5/5 (2369)
Fear: Trump in the White House
From Everand
Fear: Trump in the White House
Bob Woodward
3.5/5 (836)
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
From Everand
Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
Gilbert King
4.5/5 (280)
The World Is Flat 3.0: A Brief History of the Twenty-first Century
From Everand
The World Is Flat 3.0: A Brief History of the Twenty-first Century
Thomas L. Friedman
3.5/5 (2289)
John Adams
From Everand
John Adams
David McCullough
4.5/5 (2546)
Team of Rivals: The Political Genius of Abraham Lincoln
From Everand
Team of Rivals: The Political Genius of Abraham Lincoln
Doris Kearns Goodwin
4.5/5 (244)
On Fire: The (Burning) Case for a Green New Deal
From Everand
On Fire: The (Burning) Case for a Green New Deal
Naomi Klein
4/5 (78)
Shoe Dog: A Memoir by the Creator of Nike
From Everand
Shoe Dog: A Memoir by the Creator of Nike
Phil Knight
4.5/5 (628)
The Glass Castle: A Memoir
From Everand
The Glass Castle: A Memoir
Jeannette Walls
4.5/5 (1856)
Bad Feminist: Essays
From Everand
Bad Feminist: Essays
Roxane Gay
4/5 (1090)
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
From Everand
Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
Ashlee Vance
4.5/5 (581)
Steve Jobs
From Everand
Steve Jobs
Walter Isaacson
4.5/5 (1139)
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
From Everand
Hidden Figures: The American Dream and the Untold Story of the Black Women Mathematicians Who Helped Win the Space Race
Margot Lee Shetterly
4/5 (1022)
The Outsider: A Novel
From Everand
The Outsider: A Novel
Stephen King
4/5 (2884)
The Emperor of All Maladies: A Biography of Cancer
From Everand
The Emperor of All Maladies: A Biography of Cancer
Siddhartha Mukherjee
4.5/5 (298)
Rise of ISIS: A Threat We Can't Ignore
From Everand
Rise of ISIS: A Threat We Can't Ignore
Jay Sekulow
3.5/5 (144)
Grit: The Power of Passion and Perseverance
From Everand
Grit: The Power of Passion and Perseverance
Angela Duckworth
4/5 (650)
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
From Everand
The Gifts of Imperfection: Let Go of Who You Think You're Supposed to Be and Embrace Who You Are
Brené Brown
4/5 (1175)
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
From Everand
The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
Ben Horowitz
4.5/5 (361)
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
From Everand
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
Mark Manson
4/5 (6453)
Principles: Life and Work
From Everand
Principles: Life and Work
Ray Dalio
4/5 (643)
Never Split the Difference: Negotiating As If Your Life Depended On It
From Everand
Never Split the Difference: Negotiating As If Your Life Depended On It
Chris Voss
4.5/5 (1005)