-
-
Save quantra-go-algo/0c559c92144d728bf03c52386700eaa8 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 the data | |
data = pd.read_csv('BTC_2021-02-04.csv', names=['Date_Time', 'LTP', 'LTQ', 'Exchage Code'], index_col=0) | |
# Convert the index to datetime | |
data.index = pd.to_datetime(data.index, format='%Y-%m-%d %H:%M:%S:%f') | |
# Print the last 5 rows | |
data.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment