DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to get column names having numeric value in pandas
cols = df.select_dtypes([np.number]).columns
PREVIOUS
NEXT
Tagged:
#column
#names
#numeric
#pandas
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit