Mathew K Analytics

📊 Dataset · CSV

online_retail_sample.csv

Free CSV dataset “online_retail_sample.csv” (1,500 rows × 8 columns, 132.5 KB) used in 3 Python lessons, including “Pandas Data Cleaning: Missing Values &…

Preview (first rows)

InvoiceNoStockCodeDescriptionQuantityInvoiceDateUnitPriceCustomerIDCountry
53636585123AWHITE HANGING HEART T-LIGHT HOLDER62010-12-01 08:26:002.5517850.0United Kingdom
53636571053WHITE METAL LANTERN62010-12-01 08:26:003.3917850.0United Kingdom
53636584406BCREAM CUPID HEARTS COAT HANGER82010-12-01 08:26:002.7517850.0United Kingdom
53636584029GKNITTED UNION FLAG HOT WATER BOTTLE62010-12-01 08:26:003.3917850.0United Kingdom
53636584029ERED WOOLLY HOTTIE WHITE HEART.62010-12-01 08:26:003.3917850.0United Kingdom
53636522752SET 7 BABUSHKA NESTING BOXES22010-12-01 08:26:007.6517850.0United Kingdom
53636521730GLASS STAR FROSTED T-LIGHT HOLDER62010-12-01 08:26:004.2517850.0United Kingdom
53636622633HAND WARMER UNION JACK62010-12-01 08:28:001.8517850.0United Kingdom

Columns

ColumnTypeMissingExample
InvoiceNotext0536365
StockCodetext085123A
Descriptiontext1WHITE HANGING HEART T-LIGHT HOLDER
Quantityinteger06
InvoiceDatetext02010-12-01 08:26:00
UnitPricedecimal02.55
CustomerIDdecimal5817850.0
Countrytext0United Kingdom

Load it in Python

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