dt.
month_name
Return the month names of the series with specified locale.
Locale determining the language in which to return the month name. Default is English locale.
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