class_docstr: Date/Time methods for pandas-on-Spark Series
class_docstr_tok: ["Date\/Time","methods","for","pandas-on-Spark","Series"]
docstr: Return the month names of the series with specified locale.
  
  Parameters
  ----------
  locale : str, optional
      Locale determining the language in which to return the month name.
      Default is English locale.
  
  Returns
  -------
  Series
      Series of month names.
  
  Examples
  --------
  >>> series = ps.Series(pd.date_range(start='2018-01', freq='M', periods=3))
  >>> series
  0   2018-01-31
  1   2018-02-28
  2   2018-03-31
  dtype: datetime64[ns]
  
  >>> series.dt.month_name()
  0     January
  1    February
  2       March
  dtype: object
docstr_tok: ["Return","the","month","names","of","the","series","with","specified","locale",".","Parameters","--","--","--","--","--","locale",":","str",",","optional","Locale","determining","the","language","in","which","to","return","the","month","name",".","Default","is","English","locale",".","Returns","--","--","--","-","Series","Series","of","month","names",".","Examples","--","--","--","--",">",">",">","series","=","ps.Series","(","pd.date_range","(","start='2018-01","'",",","freq=","'M","'",",","periods=3",")",")",">",">",">","series","0","2018-01-31","1","2018-02-28","2","2018-03-31","dtype",":","datetime64","[","ns","]",">",">",">","series.dt.month_name","(",")","0","January","1","February","2","March","dtype",":","object"]
code: def month_name(self, locale: Optional[str] = None) -> "ps.Series":
      """
      Return the month names of the series with specified locale.
  
      Parameters
      ----------
      locale : str, optional
          Locale determining the language in which to return the month name.
          Default is English locale.
  
      Returns
      -------
      Series
          Series of month names.
  
      Examples
      --------
      >>> series = ps.Series(pd.date_range(start='2018-01', freq='M', periods=3))
      >>> series
      0   2018-01-31
      1   2018-02-28
      2   2018-03-31
      dtype: datetime64[ns]
  
      >>> series.dt.month_name()
      0     January
      1    February
      2       March
      dtype: object
      """
  
      def pandas_month_name(s) -> ps.Series[str]:  # type: ignore[no-untyped-def]
          return s.dt.month_name(locale=locale)
  
      return self._data.pandas_on_spark.transform_batch(
          pandas_month_name
      )
  
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 34 for calling the DatetimeMethods obj's underlying member method code with example usage: obj.month_name(locale) and returns: self, s