class_docstr: Date/Time methods for pandas-on-Spark Series
class_docstr_tok: ["Date\/Time","methods","for","pandas-on-Spark","Series"]
docstr: Indicates whether the date is the last day of the month.
  
  Returns
  -------
  Series
      For Series, returns a Series with boolean values.
  
  See Also
  --------
  is_month_start : Return a boolean indicating whether the date
      is the first day of the month.
  
  Examples
  --------
  This method is available on Series with datetime values under
  the ``.dt`` accessor.
  
  >>> s = ps.Series(pd.date_range("2018-02-27", periods=3))
  >>> s
  0   2018-02-27
  1   2018-02-28
  2   2018-03-01
  dtype: datetime64[ns]
  
  >>> s.dt.is_month_end
  0    False
  1     True
  2    False
  dtype: bool
docstr_tok: ["Indicates","whether","the","date","is","the","last","day","of","the","month",".","Returns","--","--","--","-","Series","For","Series",",","returns","a","Series","with","boolean","values",".","See","Also","--","--","--","--","is_month_start",":","Return","a","boolean","indicating","whether","the","date","is","the","first","day","of","the","month",".","Examples","--","--","--","--","This","method","is","available","on","Series","with","datetime","values","under","the","``",".dt","``","accessor",".",">",">",">","s","=","ps.Series","(","pd.date_range","(","``","2018-02-27","''",",","periods=3",")",")",">",">",">","s","0","2018-02-27","1","2018-02-28","2","2018-03-01","dtype",":","datetime64","[","ns","]",">",">",">","s.dt.is_month_end","0","False","1","True","2","False","dtype",":","bool"]
code: def is_month_end(self) -> "ps.Series":
      """
      Indicates whether the date is the last day of the month.
  
      Returns
      -------
      Series
          For Series, returns a Series with boolean values.
  
      See Also
      --------
      is_month_start : Return a boolean indicating whether the date
          is the first day of the month.
  
      Examples
      --------
      This method is available on Series with datetime values under
      the ``.dt`` accessor.
  
      >>> s = ps.Series(pd.date_range("2018-02-27", periods=3))
      >>> s
      0   2018-02-27
      1   2018-02-28
      2   2018-03-01
      dtype: datetime64[ns]
  
      >>> s.dt.is_month_end
      0    False
      1     True
      2    False
      dtype: bool
      """
  
      def pandas_is_month_end(s) -> ps.Series[bool]:  # type: ignore[no-untyped-def]
          return s.dt.is_month_end
  
      return self._data.pandas_on_spark.transform_batch(
          pandas_is_month_end
      )
  
imports: from typing import Any, Optional, Union, no_type_check
  import numpy
  import pandas
  from pandas.tseries.offsets import DateOffset
  import pyspark.pandas
  import pyspark.sql.functions
  from pyspark.sql.types import DateType, TimestampType, TimestampNTZType, IntegerType
  from pyspark.pandas import DataFrame
  from pyspark.pandas.config import option_context
label_desc: Use image node_id 19 for calling the DatetimeMethods obj's underlying member method code with example usage: obj.is_month_end() and returns: self, s