Backport PR #49864 on branch 1.5.x (REGR: DataFrameGroupBy.transform with reducer and as_index=False returns null values)
Backport PR #49864: REGR: DataFrameGroupBy.transform with reducer and as_index=False returns null values
cc @rhshadrach could you have a look?