Replaced set comprehension with a generator (#31229)
Replaced set comprehension with a generator (#31229)


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