@woodward, yeah it's true is Python but in R there are Dataframes and follow the same logical thing!
I want to avoid the first category_code, for example:
- there is appliances.kitchen.washer ... I want to create a column named subcategory where there is only the subcategories.. in this case kitchen.washer!
Another example:
and so on...
sub_newvalues makes what I want to do! ... but while I'm making the merge with the main dataframe, the values are wrong!?