Skip to content

Python Script to divide large CSV file in chunks of n rows using Pandas

Notifications You must be signed in to change notification settings

wankes2000/csv_splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSV Splitter

Split large CSV files into chunks of n row size using Pandas.

Arguments

Scrips uses these arguments:

  • -i Absolute path to input CSV
  • -o Absolute path to folder where CSV chunks will be stored
  • -r Row size of the chunks
  • -s Separator character used in input CSV

Example:

main.py -i Reg_64ms.csv -s ; -o /tmp -r 30000

About

Python Script to divide large CSV file in chunks of n rows using Pandas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages