Use None for missing values, instead of 00:00. Read data in batches for writing to CSV to avoid running out of memory