Closed awunderground closed 2 months ago
@awunderground Thanks for raising this issue. To help diagnose it, can you provide some code to replicate the error you are finding?
Further investigation showed that this bug is a result of the user having pandas
with version < 2.2 installed in their environment. The taxcalc-dev
environment specifies that the model requires pandas >= 2.2
.
The specific pandas
deprecation re the include_groups
kwarg is noted in this Stack Overflow thread.
I am trying to use
write_tables_file()
to output distributional tables.write_tables_file()
calls the methodwrite_decile_table()
, which uses the functionunweighted_sum()
.This code includes the argument
include_groups=False
even thoughinclude_groups
doesn't appear to be an argument forunweighted_sum()
source code.I get the following error, which is fatal: