Skip to content

Commit

Permalink
allow path to accept weekday_name as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Feb 26, 2018
1 parent 565b5b6 commit 72f5b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/fields.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_date_name_field(ndarray[int64_t] dtindex, object field,
count = len(dtindex)
out = np.empty(count, dtype=object)

if field == 'day_name':
if field == 'day_name' or field == 'weekday_name':
if time_locale is None:
_dayname = np.array(DAYS_FULL, dtype=np.object_)
else:
Expand Down

0 comments on commit 72f5b01

Please sign in to comment.