pyspark.pandas.DatetimeIndex.month_name#
- DatetimeIndex.month_name(locale=None)[source]#
- Return the month names of the DatetimeIndex with specified locale. - Parameters
- localestr, optional
- Locale determining the language in which to return the month name. Default is English locale. 
 
- Returns
- Index
- Index of month names. 
 
 - Examples - >>> idx = ps.date_range(start='2018-01', freq='ME', periods=3) >>> idx.month_name() Index(['January', 'February', 'March'], dtype='object')