I have a dataframe df that has a column inc in it. The inc column has US dollar amounts from past years. I would like to create a new column called adj that has the past dollar amounts all adjusted for inflation. Can anyone suggest how to do this? It would be fine to assume an average rate of inflation too, it doesn’t have to be exactly accurate. Also the example numbers in the adj column of the example output I’ve provided are totally made up. Any tips are greatly appreciated.
df:
inc date
0 50000.0 12/01/1992
1 39216.0 11/01/2005
2 65000.0 06/01/1970
output:
inc date adj
0 50000.0 12/01/1992 6000.0
1 39216.0 11/01/2005 4100.0
2 65000.0 06/01/1970 100000.0