Created
September 7, 2019 16:48
-
-
Save julian-west/5a37d92139eb3ab18b0d24534552d08c 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
| # read csv file | |
| raw_asset_prices_df = pd.read_csv("asset_prices.csv", index_col='Date') | |
| # get number of rows and columns of the dataset | |
| df_shape = (raw_asset_prices_df.shape) | |
| print(f"There are {df_shape[0]} rows and {df_shape[1]} columns in the dataset") | |
| print(f"Data timeperiod covers: {min(raw_asset_prices_df.index)} to {max(raw_asset_prices_df.index)}") | |
| # show first five rows | |
| raw_asset_prices_df.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment