Created
December 3, 2019 14:02
-
-
Save caiobvilar/03c343431487117f9b044234420a9727 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
df_hist.to_csv('LMT_stock.csv') | |
df_hist[['Year','Month','Day']] = df_hist['Date'].str.split('-',3,expand=True) | |
df_hist = df_hist.drop('Date',axis=1) | |
df_hist = df_hist.apply(pd.to_numeric) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment