Skip to content

Commit

Permalink
Merge pull request #2715 from martinholmer/fix-warning
Browse files Browse the repository at this point in the history
Avoid pandas deprecation warning
  • Loading branch information
jdebacker authored Feb 7, 2024
2 parents d280bbe + 3a1eefe commit eeffa54
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 eeffa54

Please sign in to comment.