Is there a better way to determine whether a variable in Pandas and/or NumPy is numeric or not ?
Pandas
NumPy
numeric
I have a self defined
Just to add to all other answers, one can also use df.info() to get whats the data type of each column.
df.info()