-2
I need to separate in a list the column types of a dataset in numerical and non-numerical.
For example:
def identifica_tipos(df):
col_numerica = []
for col in df.columns:
if col.isnumeric:
col_numerica.append(col)
But this function that I created does not separate the data, someone has some suggestion of functions that can do this ??
works perfectly , thank you and always come back !!
– sagacello