Skip to content
Novus Examples
csv918 B

Star Schema — Product Dimension (CSV)

The product dimension of a star schema — surrogate key, SKU, name, category, and unit price. Joins to the sales fact table on product_key.

Preview — first 22 linescsv
product_key,sku,name,category,unit_price
1,SKU-0001,Wireless Mouse,Peripherals,177.31
2,SKU-0002,Mechanical Keyboard,Peripherals,148.53
3,SKU-0003,USB-C Hub,Accessories,271.85
4,SKU-0004,Laptop Stand,Accessories,138.85
5,SKU-0005,Webcam 1080p,Peripherals,108.15
6,SKU-0006,Noise-cancelling Headphones,Audio,112.03
7,SKU-0007,Desk Lamp,Lighting,92.58
8,SKU-0008,Monitor 27in,Displays,162.89
9,SKU-0009,Ergonomic Chair,Furniture,69.26
10,SKU-0010,Standing Desk,Furniture,355.71
11,SKU-0011,Cable Organiser,Accessories,207.65
12,SKU-0012,Docking Station,Accessories,123.74
13,SKU-0013,Portable SSD,Storage,71.27
14,SKU-0014,Wrist Rest,Accessories,155.22
15,SKU-0015,Bluetooth Speaker,Audio,84.16
16,SKU-0016,Water Bottle,Lifestyle,122.33
17,SKU-0017,Notebook A5,Stationery,363.83
18,SKU-0018,Fountain Pen,Stationery,346.95
19,SKU-0019,Whiteboard,Office,225.67
20,SKU-0020,Desk Mat,Accessories,192.14

Specifications

Rows
20
Key
product_key
Role
dimension

What is a .csv file?

CSV (Comma-Separated Values) is a plain-text tabular format where rows are lines and fields are separated by commas, with quoting rules for values that contain delimiters, quotes, or newlines. It has no formal type system and depends on encoding and dialect conventions. It is the most portable format for tabular data exchange.

How to use this file

Use an example CSV to test parsers against quoting and embedded-delimiter edge cases, header handling, encoding detection, and import pipelines into databases or spreadsheets.

Code examples

import pandas as pd

df = pd.read_csv("dim_product.csv")
print(df.head())
print(df.dtypes)

Generated by generation/data_edgecases.py. Free for any use, no attribution required — license.