modin.pandas.Series.dt.month_name¶
- Series.dt.month_name[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/.tox/docs/lib/python3.9/site-packages/modin/pandas/series_utils.py#L777-L780)¶
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.