Mathew K Analytics

📊 Dataset · CSV

tips.csv dataset

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

Preview (first rows)

total_billtipsexsmokerdaytimesize
16.991.01FemaleNoSunDinner2
10.341.66MaleNoSunDinner3
21.013.5MaleNoSunDinner3
23.683.31MaleNoSunDinner2
24.593.61FemaleNoSunDinner4
25.294.71MaleNoSunDinner4
8.772.0MaleNoSunDinner2
26.883.12MaleNoSunDinner4

Columns

ColumnTypeMissingExample
total_billdecimal016.99
tipdecimal01.01
sextext0Female
smokertext0No
daytext0Sun
timetext0Dinner
sizeinteger02

Load it in Python

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