DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
select categorical columns pandas
df_catagorical
=
df
.
select_dtypes
(
include
=
[
'category'
]
)
PREVIOUS
NEXT
Tagged:
#select
#categorical
#columns
#pandas
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit