Mathew K Analytics

📊 Dataset · CSV

tips.csv dataset

Download tips.csv free (244 rows × 7 columns, 7.9 KB). Preview the rows and columns, load it in pandas in one line and practise with 2 Python lessons.

Preview (first rows)

total_billtipsexsmokerdaytimesize
21.344.01MaleNoSunDinner2
13.142.63MaleNoSatDinner2
19.52.84FemaleNoSunDinner2
23.592.41FemaleYesSunDinner2
33.884.54FemaleNoThurLunch6
24.952.47MaleNoSunDinner4
32.795.34FemaleNoSunDinner3
27.454.22MaleNoSunDinner2

Columns

ColumnTypeMissingExample
total_billdecimal021.34
tipdecimal04.01
sextext0Male
smokertext0No
daytext0Sun
timetext0Dinner
sizeinteger02

Load it in Python

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