DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to convert data into numerical dataset
#dataframe['c'] = pandas.Categorical.from_array(dataframe.col3).codes
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#data
#numerical
#dataset
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit