Pandas normalise Groupby

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