New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: add month_name to DatetimeIndex and .dt #12805

BastiaanBergman opened this Issue Apr 5, 2016 · 1 comment


None yet
2 participants

BastiaanBergman commented Apr 5, 2016

Add a month name property to DatetimeIndex and the .dt accessor; similar to weekday_name (GH12803).

Code Sample:

i = pd.date_range('20150112 08:34:23', periods = 4, freq = '1D')
d = pd.Timestamp("2016-04-04")
s = pd.Series(i, range(4))

Expected Output:

array(['January', 'January', 'January', 'January'], dtype=object)
0       January
1       January
2       January
3       January
dtype: object

This comment has been minimized.


jreback commented Apr 6, 2016

xref #11128

@jreback jreback added this to the Next Major Release milestone Apr 6, 2016

@jreback jreback modified the milestones: Next Major Release, 0.22.0 Nov 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment