I have a dataframe in which I have some columns where I only have float values, but in some columns there is only a string (sometimes the string also contains numbers if this is relevant).
Now I'm trying to find the max value per column but I ran into some issues because of the strings. I thought it would be better anyways to remove all strings and set them to 0 as this would help working with the data afterwards.
I tried it with df.loc but I couldn't find a solution how to check if the row/column contains a string.
Could anyone push me into the right direction?