code: def to_timedelta(
      arg: Series,
      unit: UnitChoices | None = ...,
      errors: DateTimeErrorChoices = ...,
  ) -> Series:
      ...
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/tools/timedeltas.py
imports: from __future__ import annotations
  from datetime import timedelta
  from typing import TYPE_CHECKING, overload
  import numpy
  from pandas._libs import lib
  from pandas._libs.tslibs import NaT, NaTType
  from pandas._libs.tslibs.timedeltas import Timedelta, parse_timedelta_unit
  from pandas.core.dtypes.common import is_list_like
  from pandas.core.dtypes.generic import ABCIndex, ABCSeries
  from pandas.core.arrays.timedeltas import sequence_to_td64ns
label_desc: Use image node_id 2 for calling a global function with example usage: to_timedelta(arg, unit, errors) without return types