Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement