I wanted to find if an Excel file imported through csv.reader() has headers (column names) or not. When I stumbled across this How to check if a CSV has a header using Python? article. After which, I wanted to know it's working. But couldn't find any lead. Can anyone help? Continue reading...