January 2020
Beginner to intermediate
432 pages
11h 24m
English
We address each transformation separately:
Deflation: In Step 2, we used the cpi library to account for inflation in the US dollar. The library relies on the CPI-U index recommended by the Bureau of Labor Statistics. To make it work, we created an artificial index column containing dates as objects of the datetime.date class. The inflate function takes the following arguments:
Log transformation: In Step 3, we applied the natural logarithm (np.log) to all the values to make the exponential trend ...
Read now
Unlock full access