hodcroftlab / covariants

Real-time updates and information about key SARS-CoV-2 variants, plus the scripts that generate this information.
https://covariants.org/
GNU Affero General Public License v3.0
316 stars 111 forks source link

implement usecols #275

Closed MoiraZuber closed 2 years ago

MoiraZuber commented 2 years ago

Implement pandas read_csv parameter usecols to only read selected columns from metadata in order to speed up the script and reduce memory usage.

TODO:

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hodcroftlab/covariants/8HXzhETL6vFEh2DSCi9pMXjFaTJW
✅ Preview: https://covariants-git-selectmetadatacolumns-hodcroftlab.vercel.app

emmahodcroft commented 2 years ago

I've run this on scicore and it runs without errors, so we're capturing all columns. Will merge in!