Created
August 24, 2021 12:19
-
-
Save quantra-go-algo/00f37c1f79339cdb3bf7763b70c62f8a to your computer and use it in GitHub Desktop.
Create dataframe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################### | |
## Create a dataframe with X's (spy, pep, usdx) and Y (ko) | |
df = pd.concat([spy_df['spy'], ko_df['ko'], | |
pep_df['pep'], usdx_df['usdx']], axis = 1).dropna() | |
## Save the csv file. Good practice to save data files after initial processing | |
df.to_csv("Jul2021_data_lin_regression.csv") | |
#################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment