pandas: transforming the dataframegroupby object to desired format,df.index = ['/'.join(i) for i in df.index]