The index's day number of 1 January of year (proleptic Gregorian): begin_time and end_time hold Python's date.toordinal() + 1, not years (1 Jan 1810 is 660725), so begin_time:[1900 TO 1909] matched nothing without an error.
year
begin_time
end_time
date.toordinal()
begin_time:[1900 TO 1909]
The index's day number of 1 January of
year(proleptic Gregorian):begin_timeandend_timehold Python'sdate.toordinal()+ 1, not years (1 Jan 1810 is 660725), sobegin_time:[1900 TO 1909]matched nothing without an error.