Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check columns with the numerical values

numerics = ['int16', 'int32', 'int64', 'float16', 'float32', 'float64']

numeric_df = df.select_dtypes(include=numerics)
len(numeric_df.columns)
 
PREVIOUS NEXT
Tagged: #check #columns #numerical #values
ADD COMMENT
Topic
Name
9+3 =