code: def is_1d_only_ea_dtype(dtype: DtypeObj | None) -> bool:
      """
      Analogue to is_extension_array_dtype but excluding DatetimeTZDtype.
      """
      # Note: if other EA dtypes are ever held in HybridBlock, exclude those
      #  here too.
      # NB: need to check DatetimeTZDtype and not is_datetime64tz_dtype
      #  to exclude ArrowTimestampUSDtype
      return isinstance(dtype, ExtensionDtype) and not isinstance(
          dtype, (DatetimeTZDtype, PeriodDtype)
      )
  
imports: from __future__ import annotations
  from typing import Any, Callable
  import warnings
  import numpy
  from pandas._libs import Interval, Period, algos, lib
  from pandas._libs.tslibs import conversion
  from pandas._typing import ArrayLike, DtypeObj
  from pandas.core.dtypes.base import _registry
  from pandas.core.dtypes.dtypes import CategoricalDtype, DatetimeTZDtype, ExtensionDtype, IntervalDtype, PeriodDtype
  from pandas.core.dtypes.generic import ABCIndex
  from pandas.core.dtypes.inference import is_array_like, is_bool, is_complex, is_dataclass, is_decimal, is_dict_like, is_file_like, is_float, is_hashable, is_integer, is_interval, is_iterator, is_list_like, is_named_tuple, is_nested_list_like, is_number, is_re, is_re_compilable, is_scalar, is_sequence
label_desc: Use image node_id 34 for calling a global function with example usage: is_1d_only_ea_dtype(dtype) and returns: unknown