Skip to content

ENH date_range should accept dateutil frequency constants #9314

@mangecoeur

Description

@mangecoeur

Currently date_range accepts string flags for freq=.

dateutil (which is already a pandas dependency) has constants for YEARLY, MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, SECONDLY which are used in the dateutil equivalent of date_range, rrule.

it would be a nice feature if these were accepted as well as the string arguments

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions