human
finding non-numeric rows in dataframe in pandas?
assistant
Here is some code to replace values of dataframe `df` with True if numeric

df.applymap(lambda x: isinstance(x, (int, float)))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.