Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/palewire/cpi
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Sep 2, 2024
2 parents 114b9a8 + 1b14070 commit 502a964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ An inflation-adjusted column can quickly be added to a pandas DataFrame using th
import cpi
import pandas as pd
df = pd.read("https://raw.githubusercontent.com/palewire/cpi/main/tests/test.csv")
df = pd.read_csv("https://raw.githubusercontent.com/palewire/cpi/main/tests/test.csv")
df["ADJUSTED"] = df.apply(
lambda x: cpi.inflate(x.MEDIAN_HOUSEHOLD_INCOME, x.YEAR), axis=1
)
Expand Down

0 comments on commit 502a964

Please sign in to comment.