creates the three main sections of the email individually, then combines at the end
keeps each section as a DataFrame, to help with inspecting / cut down on # of variables
generalizes to work across multiple days of data
I've double checked by...
running the old and new versions of the parse script on daily, and looking at diffs of the output
running on a couple days concatenated
NOTE: I removed the main() function from the script, since it isn't used anywhere, and does not block sending daily / weekly emails. Would be useful / quick to make each of the 3 sections a function, but would defer to when that's needed for something (e.g. re-using somewhere).
Example daily (original on left)
Example weekly (July 1st and July 6th concatenated)
I've double checked by...
NOTE: I removed the
main()
function from the script, since it isn't used anywhere, and does not block sending daily / weekly emails. Would be useful / quick to make each of the 3 sections a function, but would defer to when that's needed for something (e.g. re-using somewhere).Example daily (original on left)
Example weekly (July 1st and July 6th concatenated)
TODO: