pandas.Series.dt.month_name

pandas 3.1.1 · Series and accessors · method

Get month names, optionally using a specified locale.

Call syntax

Series.dt.month_name(locale=None)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
locale Optional
Positional or keyword
Default None
str

Choose which locale is used for calendar names or display.

Returns

Series or Index