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.
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 thetotal
parameter. This way we get the progressbar for tqdm.