REF: pre-allocate results in libreduction (#29550)
REF: pre-allocate results in libreduction (#29550)


datapythonista/pandas,jreback/pandas,pandas-dev/pandas,datapythonista/pandas,jorisvandenbossche/pandas,gfyoung/pandas,pandas-dev/pandas,pandas-dev/pandas,jreback/pandas,rs2/pandas,TomAugspurger/pandas,dsm054/pandas,jorisvandenbossche/pandas,pandas-dev/pandas,gfyoung/pandas,rs2/pandas,datapythonista/pandas,jorisvandenbossche/pandas,dsm054/pandas,TomAugspurger/pandas,TomAugspurger/pandas,dsm054/pandas,gfyoung/pandas,jreback/pandas,jreback/pandas,jreback/pandas,jorisvandenbossche/pandas,datapythonista/pandas,gfyoung/pandas,gfyoung/pandas,rs2/pandas,rs2/pandas,dsm054/pandas,dsm054/pandas,TomAugspurger/pandas