Skip to content

Commit

Permalink
Merge pull request #1443 from tgibson11/future-warnings
Browse files Browse the repository at this point in the history
Fix a couple FutureWarnings
  • Loading branch information
bug-or-feature authored Nov 3, 2024
2 parents 8734912 + 16f0ed4 commit a88bfef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sysdata/tools/manual_price_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ def manual_price_checker(
position_of_spike_in_newdata = list(new_data.index).index(first_spike)
position_of_spike_in_mergedata = list(merged_data.index).index(first_spike)

original_value = merged_data[column_to_check][position_of_spike_in_mergedata]
previous_value = merged_data[column_to_check][
original_value = merged_data[column_to_check].iloc[
position_of_spike_in_mergedata
]
previous_value = merged_data[column_to_check].iloc[
position_of_spike_in_mergedata - 1
]

Expand Down

0 comments on commit a88bfef

Please sign in to comment.