REF: use lower-level casting func instead of to_timedelta (#40155)
REF: use lower-level casting func instead of to_timedelta (#40155)


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