DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+9 =
Submit