Skip to content

Instantly share code, notes, and snippets.

@AndrewCiambrone
Created July 3, 2017 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewCiambrone/057b1c32b5e954a0f73dd3c79e7ae6a5 to your computer and use it in GitHub Desktop.
Save AndrewCiambrone/057b1c32b5e954a0f73dd3c79e7ae6a5 to your computer and use it in GitHub Desktop.
Running the Seller Direct csv clean up script

The purpose of the script is to clean up the old csv records in the seller_csv_files table in the seller direct database.

To run the script simply enter:

python scripts/clean_up_old_csv.py

This script is expected to take a long time to run initially. It should truncate the table down to 4 million records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment