convert entire dataset to numerical values python 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