I am trying do delete or replace all cells that aren't numbers in a column.
I used the code below:
if file[[Coluna_Vaos]] is not float() or int():
ColVao = file[[Coluna_Vaos]].replace(**"-" or "!"**, np.NaN)
But I have to show every type that I don't want. If exist a variable for that that contain all things except numbers would be useful.
Resuming: I want to remove everything that is not a number on that row. I would appreciate if somebody could let the solution for other example, like check and rip if that is another thing besides strings.