Skip to main content

Splitting CSV file

Splits the provided file into parts with chunk size.

Script: split-csv.py

Usage:

python split-csv.py <csv_file_path> <rows_per_file>

Example:

python split-csv.py file.csv 10000