As highlighted in #177, setting include_null = True will fail for categorical data types (i.e. if a column has been converted to the Pandas Categorical type, include_null=True will raise an error).
After applying this fix, the following code should add the "None" category as expected:
As highlighted in #177, setting
include_null = True
will fail for categorical data types (i.e. if a column has been converted to the Pandas Categorical type,include_null=True
will raise an error).After applying this fix, the following code should add the "None" category as expected:
Returns: