Mathew K Analytics

📊 Dataset · CSV

sms_spam.csv dataset

Download sms_spam.csv free (5,572 rows × 2 columns, 469.5 KB). Preview the rows and columns, load it in pandas in one line and practise with 3 Python lessons.

Preview (first rows)

labelmessage
hamGo until jurong point, crazy.. Available
hamOk lar... Joking wif u oni...
spamFree entry in 2 a wkly comp to win FA Cu
hamU dun say so early hor... U c already th
hamNah I don't think he goes to usf, he liv
spamFreeMsg Hey there darling it's been 3 we
hamEven my brother is not like to speak wit
hamAs per your request 'Melle Melle (Oru Mi

Columns

ColumnTypeMissingExample
labeltext0ham
messagetext0Go until jurong point, crazy.. Available

Load it in Python

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