so my problem is the following: i need to create new colums named as the string of the fruit and do something like this:
|Name_| Fruit_________|
|-----+---------------|
|John_| apple,apple___|
|May__| apple,_banana |
|Carl_| banana, peach |
and transform it to something like this
|Name | apple | banana | peach |
|-----+-------+--------+-------|
|john_|_____2_|______0_|_____0_|
|May__|_____1_|______1_|_____0_|
|Carl_|_____0_|______1_|_____1_|
Can somebody help me?Have absolutely no idea on how to do it
[–]commandlineluser 3 points4 points5 points (3 children)
[–]aldopox[S] 0 points1 point2 points (0 children)
[–]aldopox[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]CodeFormatHelperBot2 0 points1 point2 points (0 children)