April 2019
Intermediate to advanced
426 pages
11h 13m
English
We will be reusing the pandas DataFrame variables, df_assets_1m and df_assets_3m, from the previous section containing the lagged 1-month and 3-month percentage returns of the four assets and combine them into a single variable, df_input, with the following code:
In [ ]: df_input = df_assets_1m.join(df_assets_3m).dropna()
Read now
Unlock full access