pandas.Index.groupby# final Index.groupby(values)[source]# Group the index labels by a given array of values. Parameters valuesarrayValues used to determine the groups. Returns dict{group name -> group labels}