There could be situations when the target variable is a string in the pandas dataframe, but dtreeviz requires to be numeric. We need to find a solution for this, either to check if we can support string values or raise an exception in case the target variable is a string and guide the user to convert it to numeric.
This issue was created based on https://github.com/parrt/dtreeviz/issues/271
There could be situations when the target variable is a string in the pandas dataframe, but dtreeviz requires to be numeric. We need to find a solution for this, either to check if we can support string values or raise an exception in case the target variable is a string and guide the user to convert it to numeric.