Trying to create a dataframe from a CSV file that contains empty lines (even if they're at the end of the file) currently throws IndexError: element size differs (0 should be x). Pandas handles this gracefully by ignoring empty lines which seems the most user friendly so this PR matches that behaviour.
Trying to create a dataframe from a CSV file that contains empty lines (even if they're at the end of the file) currently throws
IndexError: element size differs (0 should be x)
. Pandas handles this gracefully by ignoring empty lines which seems the most user friendly so this PR matches that behaviour.