CLN: clean and deduplicate in core.missing.interpolate_1d (#34744)
CLN: clean and deduplicate in core.missing.interpolate_1d (#34744)

* interpolate_1d returns function

* CLN: clean and deduplicate in core.missing.interpolate_1d
rs2/pandas,datapythonista/pandas,jorisvandenbossche/pandas,pandas-dev/pandas,gfyoung/pandas,gfyoung/pandas,dsm054/pandas,gfyoung/pandas,jreback/pandas,datapythonista/pandas,jorisvandenbossche/pandas,pandas-dev/pandas,jorisvandenbossche/pandas,dsm054/pandas,rs2/pandas,dsm054/pandas,jreback/pandas,gfyoung/pandas,rs2/pandas,pandas-dev/pandas,jreback/pandas,jreback/pandas,jreback/pandas,dsm054/pandas,gfyoung/pandas,jorisvandenbossche/pandas,datapythonista/pandas,pandas-dev/pandas,dsm054/pandas,rs2/pandas,datapythonista/pandas