Mathew K Analytics

📊 Dataset · CSV

tips.csv

Free CSV dataset “tips.csv” (244 rows × 7 columns, 7.9 KB) used in 2 Python lessons, including “Data Visualization for Beginners, with Matplotlib”. Preview…

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()