Skip to content

Wittline/csv-shuffler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv-shuffler

A tool to automatically Shuffle lines in .csv files

image

Installing csv_shuffler 🔧

pip install csv-shuffler
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting csv-shuffler
  Downloading csv_shuffler-0.0.3-py3-none-any.whl (2.9 kB)
Installing collected packages: csv-shuffler
Successfully installed csv-shuffler-0.0.3

Importing csv_shuffler library ⚡

from csv_shuffler import csv_shuffler

Setting csv_shuffler configuration ✍

shuffler = csv_shuffler.ShuffleCSV(input_file='/content/sample_data/mnist_train_small.csv',header=True, batch_size=20000)

Run shuffler 🏃

shuffler.shuffle_csv()
19999

Contributing and Feedback

Any ideas or feedback about this repository?. Help me to improve it.

Authors

License

This project is licensed under the terms of the MIT License.