Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Adding a Fuzzy Membership column to my table

Adding a Fuzzy Membership column to my table

I have a table with multiple columns and I want to make a Python script that processes the value of the "age" column and add another column to the table containing the membership strings : "Kid" if age between 2 and 11, "Teen" if age between 12 and 19 and so on. Any help ?

Don't have an account?
Coming from Hortonworks? Activate your account here