how to convert data into numerical dataset code example
Example: how to convert data into numerical dataset
#dataframe['c'] = pandas.Categorical.from_array(dataframe.col3).codes
#dataframe['c'] = pandas.Categorical.from_array(dataframe.col3).codes