Fix bug when parsing rows containing just numbers

If a row contains a single column with numbers, parsing will fail:

    TypeError: object of type 'int' has no len()

Test for a string before calling `len()`.