Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the list of column names whose data type is float python

In [15]: df.loc[:, df.dtypes == object]
Out[15]: 
   1
0  a
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #column #names #data #type #float #python
ADD COMMENT
Topic
Name
3+9 =