Mathew K Analytics

📊 Dataset · CSV

mushroom_predictions.csv

Free CSV dataset “mushroom_predictions.csv” (1,625 rows × 24 columns, 78.3 KB) used in 5 Python lessons, including “Machine Learning for Beginners in Python…

Preview (first rows)

cap-shapecap-surfacecap-colorbruises%3Fodorgill-attachmentgill-spacinggill-sizegill-colorstalk-shapestalk-rootstalk-surface-above-ring
533021007001
528011019002
508051107122
222021010101
509021002001
208101117102
239101005032
204051104120

+ 12 more columns

Columns

ColumnTypeMissingExample
cap-shapeinteger05
cap-surfaceinteger03
cap-colorinteger03
bruises%3Finteger00
odorinteger02
gill-attachmentinteger01
gill-spacinginteger00
gill-sizeinteger00
gill-colorinteger07
stalk-shapeinteger00
stalk-rootinteger00
stalk-surface-above-ringinteger01
stalk-surface-below-ringinteger01
stalk-color-above-ringinteger06
stalk-color-below-ringinteger04
veil-typeinteger00
veil-colorinteger02
ring-numberinteger01
ring-typeinteger02
spore-print-colorinteger01
populationinteger05
habitatinteger00
actualtext0p
predictedtext0p

Load it in Python

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