Mathew K Analytics

📊 Dataset · CSV

iris.csv dataset

Download iris.csv free (150 rows × 5 columns, 3.8 KB). Preview the rows and columns, load it in pandas in one line and practise with 4 Python lessons.

Preview (first rows)

sepal_lengthsepal_widthpetal_lengthpetal_widthspecies
5.13.51.40.2setosa
4.93.01.40.2setosa
4.73.21.30.2setosa
4.63.11.50.2setosa
5.03.61.40.2setosa
5.43.91.70.4setosa
4.63.41.40.3setosa
5.03.41.50.2setosa

Columns

ColumnTypeMissingExample
sepal_lengthdecimal05.1
sepal_widthdecimal03.5
petal_lengthdecimal01.4
petal_widthdecimal00.2
speciestext0setosa

Load it in Python

import pandas as pd
df = pd.read_csv("iris.csv")
df.head()