Skip to content

Commit

Permalink
Avoid pandas deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Feb 6, 2024
1 parent d280bbe commit 3a1eefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxcalc/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 3a1eefe

Please sign in to comment.