Function to add categories to a categorical column #113
Labels
0 - Backlog
In queue waiting for assignment
feature request
New feature or request
Python
Affects Python cuDF API.
Projects
Right now there is no way to add categories to a categorical column without defining a new column. This would be useful for UDFs, fillna, etc. where a user may want to split a categorical column based on another column or fill in nulls.
Example:
In the above the only thing we can
fillna
to is "a", "b", or "c". There should be an add_categories function similar to pandas.Series.cat.add_categories.The text was updated successfully, but these errors were encountered: