Skip to content

Check periods is number in DatetimeIndex/PeriodIndex constructor #1438

Closed
@changhiskhan

Description

@changhiskhan

In case users forget 3rd argument is periods and not freq.

e.g., date_range('2011/1/1', '2012/1/1', 'B') raises MemoryError

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions