class_docstr: Series.dt namespace.
class_docstr_tok: ["Series.dt","namespace","."]
docstr: Convert to given time zone for a Series of type Datetime.
  
  Parameters
  ----------
  time_zone
      Time zone for the `Datetime` Series.
  
  Examples
  --------
  >>> from datetime import datetime
  >>> start = datetime(2020, 3, 1)
  >>> stop = datetime(2020, 5, 1)
  >>> date = pl.datetime_range(
  ...     start, stop, "1mo", time_zone="UTC", eager=True
  ... ).alias("datetime")
  >>> date
  shape: (3,)
  Series: 'datetime' [datetime[μs, UTC]]
  [
          2020-03-01 00:00:00 UTC
          2020-04-01 00:00:00 UTC
          2020-05-01 00:00:00 UTC
  ]
  >>> date = date.dt.convert_time_zone("Europe/London").alias("London")
  >>> date
  shape: (3,)
  Series: 'London' [datetime[μs, Europe/London]]
  [
      2020-03-01 00:00:00 GMT
      2020-04-01 01:00:00 BST
      2020-05-01 01:00:00 BST
  ]
code: def convert_time_zone(self, time_zone: str) -> Series:
      """
      Convert to given time zone for a Series of type Datetime.
  
      Parameters
      ----------
      time_zone
          Time zone for the `Datetime` Series.
  
      Examples
      --------
      >>> from datetime import datetime
      >>> start = datetime(2020, 3, 1)
      >>> stop = datetime(2020, 5, 1)
      >>> date = pl.datetime_range(
      ...     start, stop, "1mo", time_zone="UTC", eager=True
      ... ).alias("datetime")
      >>> date
      shape: (3,)
      Series: 'datetime' [datetime[μs, UTC]]
      [
              2020-03-01 00:00:00 UTC
              2020-04-01 00:00:00 UTC
              2020-05-01 00:00:00 UTC
      ]
      >>> date = date.dt.convert_time_zone("Europe/London").alias("London")
      >>> date
      shape: (3,)
      Series: 'London' [datetime[μs, Europe/London]]
      [
          2020-03-01 00:00:00 GMT
          2020-04-01 01:00:00 BST
          2020-05-01 01:00:00 BST
      ]
      """
  
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 31 for calling the DateTimeNameSpace obj's underlying member method code with example usage: obj.convert_time_zone(time_zone) without return types