Skip to content

Instantly share code, notes, and snippets.

View Jazz193's full-sized avatar

Jaswinder Singh Jazz193

  • California
View GitHub Profile
import os
def split(filehandler, delimiter=',', row_limit=10000,
output_name_template='output_%s.csv', output_path='.', keep_headers=True):
"""
Splits a CSV file into multiple pieces.
A quick bastardization of the Python CSV library.
Arguments:
when I write "from toolbox import csv_splitter" it says that no module named toolbox. i was wondering where i could download that package from. Thanks