-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
API DesignError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselves
Milestone
Description
xref #13749
this is not consistent with other Indexes where we don't allow them to be constructed with no data passed (it can be None
), but that's the idea. start
must be not-None.
IOW this should raise ValueError
In [3]: pd.RangeIndex()
Out[3]: RangeIndex(start=0, stop=0, step=1)
Metadata
Metadata
Assignees
Labels
API DesignError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselves