class_docstr: Series.dt namespace.
class_docstr_tok: ["Series.dt","namespace","."]
docstr: Roll backward to the first day of the month.
  
  Returns
  -------
  Series
      Series of data type :class:`Date` or :class:`Datetime`.
  
  Notes
  -----
  If you're coming from pandas, you can think of this as a vectorised version
  of `pandas.tseries.offsets.MonthBegin().rollback(datetime)`.
  
  Examples
  --------
  >>> from datetime import datetime
  >>> s = pl.datetime_range(
  ...     datetime(2000, 1, 2, 2), datetime(2000, 4, 2, 2), "1mo", eager=True
  ... ).alias("datetime")
  >>> s.dt.month_start()
  shape: (4,)
  Series: 'datetime' [datetime[μs]]
  [
          2000-01-01 02:00:00
          2000-02-01 02:00:00
          2000-03-01 02:00:00
          2000-04-01 02:00:00
  ]
code: def month_start(self) -> Series:
      """
      Roll backward to the first day of the month.
  
      Returns
      -------
      Series
          Series of data type :class:`Date` or :class:`Datetime`.
  
      Notes
      -----
      If you're coming from pandas, you can think of this as a vectorised version
      of `pandas.tseries.offsets.MonthBegin().rollback(datetime)`.
  
      Examples
      --------
      >>> from datetime import datetime
      >>> s = pl.datetime_range(
      ...     datetime(2000, 1, 2, 2), datetime(2000, 4, 2, 2), "1mo", eager=True
      ... ).alias("datetime")
      >>> s.dt.month_start()
      shape: (4,)
      Series: 'datetime' [datetime[μs]]
      [
              2000-01-01 02:00:00
              2000-02-01 02:00:00
              2000-03-01 02:00:00
              2000-04-01 02: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 44 for calling the DateTimeNameSpace obj's underlying member method code with example usage: obj.month_start() without return types