kj3moraes / premstats

A natural language querying system for Premier League stats
https://premstats.xyz
Apache License 2.0
2 stars 0 forks source link

tqdm for upserting data #3

Open kj3moraes opened 2 months ago

kj3moraes commented 2 months ago

Currently tqdm only displays elementary data because DictReader has no __len__ attribute. So I need to figure out a way to get the number of lines in a csv file (excluding the fieldnames header line) and pass that to the total parameter. This way we get the progressbar for tqdm.