You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need an ETL task that allows a user to classify categorical values on a dataframe. If there are as many unique classes as unique categorical values then this is a simple mapping of one value to another. Otherwise if the classes are less then there needs to be some logic that specifies the mapping. E.g., if x='navy blue' or x='light blue': y='blue'.
This function should work for either numeric or text data types.
Parameter inputs will be:
Input column name
a dict that provides the mapping of the values of the column to the new values. If input values do not appear in the remapping dict then then are left untouched.
Output column name (if it's the same as the input name then the input column is overwritten with the re-mapped values).
The text was updated successfully, but these errors were encountered:
We need an ETL task that allows a user to classify categorical values on a dataframe. If there are as many unique classes as unique categorical values then this is a simple mapping of one value to another. Otherwise if the classes are less then there needs to be some logic that specifies the mapping. E.g., if x='navy blue' or x='light blue': y='blue'.
This function should work for either numeric or text data types.
Parameter inputs will be:
The text was updated successfully, but these errors were encountered: