I\'m constructing a database from a tsv (tab separated values) and I need to clean the data before importing it. I have the following structure as one example: