We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5ef1e9c + 1305abe commit 7fba8c4Copy full SHA for 7fba8c4
precise/skatertools/m6/covarianceforecasting.py
@@ -6,9 +6,8 @@
6
7
8
def m6_data(interval='d', n_dim=100, n_obs=300):
9
- constituents = pd.read_csv(
10
- 'https://raw.githubusercontent.com/Mcompetitions/M6-methods/main/assets_m6.csv')[:n_dim]
11
- tickers = constituents['symbol'].values
+ tickers = pd.read_csv(
+ 'https://raw.githubusercontent.com/Mcompetitions/M6-methods/main/assets_m6.csv')['symbol'].unique()[:n_dim]
12
if (interval=='m') and (n_obs>60):
13
print('Too many obs, switching to daily ')
14
interval = 'd'
0 commit comments