I have Dataframe which looks like below. It is containing information about plans, activities and items. Each plan is including multiple activities, and each activity is includi