Use pandas instead of csv module to read the data file
This allow more flexibility, since the reading of the file is not serial.