Lowercase the first row
I get a lot of data as CSV files from my professors and many a times they are exported form MS Access or Excel and the first row is usually capitalized. This can be a pain when importing into systems like django or any database where the column names are all lowercase.
Here’s a quick and dirty way to fix this problem with python. A simple python script to read the first line and lowercase it.