Answers for "Get all the numerical column from the dataframe using python"

3

get column number in dataframe pandas

# PANDAS: get column number from colomn name
dataframe.columns.get_loc("<col_name>")
Posted by: Guest on February-22-2020
0

Get all the numerical column from the dataframe using python

dfName.select_dtypes(exclude=['object']).columns.tolist()
Posted by: Guest on April-17-2022

Code answers related to "Get all the numerical column from the dataframe using python"

Python Answers by Framework

Browse Popular Code Answers by Language