Created
August 26, 2020 04:08
-
-
Save sid321axn/c8597cff661948b118875fbdf1e19b70 to your computer and use it in GitHub Desktop.
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
#reading dataset | |
exchange_data = pd.read_csv('forex_data_10y.csv') | |
#converting date column to datetime | |
exchange_data["Date"] = pd.to_datetime(exchange_data["Date"]) | |
# setting date column to index of dataframe while dropping the current index | |
ind_exchange_data = exchange_data.set_index(["Date"], drop=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment