mercredi 13 décembre 2017

Removing rows including values with invalid format

I am currently using Python and I got a dataframe including a column with PartNumbers. These part numbers have various patterns: e.g. 500-1222-33, 48L48 etc.

However, I want to remove rows having the following format: e.g. 06/06/3582.

Is there a way to remove the rows with these value-patterns from the dataframe?

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire