pivot list in df code example
Example 1: pivot table pandas
df.pivot_table(['int_age'],index = [df.iloc[:,meet_friends], df.iloc[:,friendsgiving]])
Example 2: pivot table pandas
df.pivot_table(index = [df.iloc[:,meet_friends], df.iloc[:,friendsgiving]])