File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -357,11 +357,7 @@ def generate(self):
357357
358358 i = 0
359359 self .earn_splits = []
360- for _ , row in tqdm (
361- puf .iterrows (),
362- total = len (puf ),
363- desc = "Constructing hierarchical PUF" ,
364- ):
360+ for _ , row in puf .iterrows ():
365361 i += 1
366362 exemptions = row ["exemptions_count" ]
367363 tax_unit_id = row ["household_id" ]
@@ -517,3 +513,5 @@ class PUF_2024(PUF):
517513
518514if __name__ == "__main__" :
519515 PUF_2015 ().generate ()
516+ PUF_2021 ().generate ()
517+ PUF_2024 ().generate ()
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ def build_loss_matrix(dataset: type, time_period):
236236
237237 loss_matrix ["irs/negative_household_market_income_count" ] = (
238238 market_income < 0
239- )
239+ ). astype ( float )
240240 targets_array .append (3e6 )
241241
242242 # Healthcare spending by age
You can’t perform that action at this time.
0 commit comments