I have an dataframe like this:
    category
apple, banana, orange, ....
I just want to keep first item in one column then create another column for remaining items. here is my expected dataframe1:
  category           sub category
       apple         banana, orange, ....
I want to make another dataframe where each items will be in a separate column. Here is my expected dataframe2:
    category           sub category1          sub category2        sub category3   
       apple              banana                   orange             .....
how to do that in pandas ? any idea?
 
     
    