code: def to_pydatetime(self):
      return cast(
          ArrowExtensionArray, self._parent.array
      )._dt_to_pydatetime()
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, cast
  import numpy
  from pandas.core.dtypes.common import is_categorical_dtype, is_datetime64_dtype, is_datetime64tz_dtype, is_integer_dtype, is_list_like, is_period_dtype, is_timedelta64_dtype
  from pandas.core.dtypes.generic import ABCSeries
  from pandas.core.accessor import PandasDelegate, delegate_names
  from pandas.core.arrays import DatetimeArray, PeriodArray, TimedeltaArray
  from pandas.core.arrays.arrow.array import ArrowExtensionArray
  from pandas.core.arrays.arrow.dtype import ArrowDtype
  from pandas.core.base import NoNewAttributesMixin, PandasObject
  from pandas.core.indexes.datetimes import DatetimeIndex
  from pandas.core.indexes.timedeltas import TimedeltaIndex
label_desc: Use image node_id 4 for calling the ArrowTemporalProperties obj's underlying member method code with example usage: obj.to_pydatetime() and returns: cast