panda menormalkan grupby

df.groupby('indx').transform(lambda x: (x - x.mean()) / x.std())
Careful Curlew