Closed GoogleCodeExporter closed 9 years ago
This is because s.has_data_for_year(1880) returns False (incorrectly). So no
row is output for 1880.
The bug is in "if start_index < 0" in get_a_year. If a series starts in
January, then a negative month index corresponds to a year that has no data;
this is what the code expects. But if a series starts in some other month,
then the initial partial year has to be handled separately.
Original comment by d...@pobox.com
on 16 Jul 2010 at 7:45
Should have added to the initial report: a series normally starts in january
but the urban adjustment in step 2 aggressively truncates and will produce many
series that do not start in january.
Original comment by d...@pobox.com
on 16 Jul 2010 at 8:28
This issue was closed by revision r463.
Original comment by d...@pobox.com
on 16 Jul 2010 at 8:47
Original issue reported on code.google.com by
d...@pobox.com
on 16 Jul 2010 at 7:33