From 3a1eefe05e3d54dfaff7cd3054ae5b73639c39e5 Mon Sep 17 00:00:00 2001 From: "martin.holmer@gmail.com" Date: Tue, 6 Feb 2024 17:29:48 -0500 Subject: [PATCH] Avoid pandas deprecation warning --- taxcalc/records.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taxcalc/records.py b/taxcalc/records.py index 4da7ef623..a5b80ef08 100644 --- a/taxcalc/records.py +++ b/taxcalc/records.py @@ -350,7 +350,7 @@ def _adjust(self, year): # pylint: disable=no-member if self.ADJ.size > 0: # Interest income - self.e00300 *= self.ADJ['INT{}'.format(year)][self.agi_bin].values + self.e00300 *= self.ADJ[f'INT{year}'].iloc[self.agi_bin].values def _read_ratios(self, ratios): """