modin.pandas.Series.dt.month_name¶
- Series.dt.month_name[source]¶
Return the month names with specified locale.
- Parameters:
locale (str, optional) – Locale determining the language in which to return the month name. Default is English locale (‘en_US.utf8’). Use the command locale -a on your terminal on Unix systems to find your locale language code.
- Returns:
Series or Index of month names.
- Return type:
Examples
Using the locale parameter you can set a different locale language, for example: idx.month_name(locale=’pt_BR.utf8’) will return month names in Brazilian Portuguese language.