-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Milestone
Description
>>> arr = ndtest('time=1993..2017')
>>> arr.reindex('time=2015..2019')
TypeError: labels should be a sequence or a single int
>>> arr.reindex('time', 'time=2015..2019')
time 2015 2016 2017 2018 2019
nan 0.0 1.0 2.0 nan
>>> arr.reindex('time', '2015..2019')
time 2015 2016 2017 2018 2019
nan 0.0 1.0 2.0 nan
This is a bit annoying that the first version does not work.