class_docstr: Series.dt namespace.
class_docstr_tok: ["Series.dt","namespace","."]
docstr: Extract (local) datetime.
  
  Applies to Datetime columns.
  
  Returns
  -------
  Series
      Series of data type :class:`Datetime`.
  
  Examples
  --------
  >>> from datetime import datetime
  >>> ser = pl.Series([datetime(2021, 1, 2, 5)]).dt.replace_time_zone(
  ...     "Asia/Kathmandu"
  ... )
  >>> ser
  shape: (1,)
  Series: '' [datetime[μs, Asia/Kathmandu]]
  [
          2021-01-02 05:00:00 +0545
  ]
  >>> ser.dt.datetime()
  shape: (1,)
  Series: '' [datetime[μs]]
  [
          2021-01-02 05:00:00
  ]
code: def datetime(self) -> Series:
      """
      Extract (local) datetime.
  
      Applies to Datetime columns.
  
      Returns
      -------
      Series
          Series of data type :class:`Datetime`.
  
      Examples
      --------
      >>> from datetime import datetime
      >>> ser = pl.Series([datetime(2021, 1, 2, 5)]).dt.replace_time_zone(
      ...     "Asia/Kathmandu"
      ... )
      >>> ser
      shape: (1,)
      Series: '' [datetime[μs, Asia/Kathmandu]]
      [
              2021-01-02 05:00:00 +0545
      ]
      >>> ser.dt.datetime()
      shape: (1,)
      Series: '' [datetime[μs]]
      [
              2021-01-02 05:00:00
      ]
      """
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from polars.datatypes import Date
  from polars.series.utils import expr_dispatch
  from polars.utils._wrap import wrap_s
  from polars.utils.convert import _to_python_date, _to_python_datetime
  from polars.utils.deprecation import deprecate_renamed_function
label_desc: Use image node_id 20 for calling the DateTimeNameSpace obj's underlying member method code with example usage: obj.datetime() without return types