sorry i need count on mulit col df2 =df.groupby(‘group_column’).agg( id_count=([‘COl2’,‘COl3’,‘COl4’,‘COl5’], ‘count’), max_age=(‘Col6’, ‘max’)) need this type result regard
Need help?
Contact ussorry i need count on mulit col df2 =df.groupby(‘group_column’).agg( id_count=([‘COl2’,‘COl3’,‘COl4’,‘COl5’], ‘count’), max_age=(‘Col6’, ‘max’)) need this type result regard