Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -205,6 +205,8 @@ def get_correlated_portfolio_for_sim(Total_Sample_Size):
|
|
205 |
stack_num = random.randint(1, 2)
|
206 |
stacking_dict = create_stack_options(raw_baselines, stack_num)
|
207 |
|
|
|
|
|
208 |
RandomPortfolio['QB'] = pd.Series(list(RandomPortfolio['QB'].map(qb_dict)), dtype="string[pyarrow]")
|
209 |
RandomPortfolio['RB1'] = pd.Series(list(RandomPortfolio['RB1'].map(full_pos_player_dict['pos_dicts'][0])), dtype="string[pyarrow]")
|
210 |
RandomPortfolio['WR1'] = pd.Series(list(RandomPortfolio['QB'].map(stacking_dict)), dtype="string[pyarrow]")
|
|
|
205 |
stack_num = random.randint(1, 2)
|
206 |
stacking_dict = create_stack_options(raw_baselines, stack_num)
|
207 |
|
208 |
+
st.write(RandomPortfolio.head(100))
|
209 |
+
|
210 |
RandomPortfolio['QB'] = pd.Series(list(RandomPortfolio['QB'].map(qb_dict)), dtype="string[pyarrow]")
|
211 |
RandomPortfolio['RB1'] = pd.Series(list(RandomPortfolio['RB1'].map(full_pos_player_dict['pos_dicts'][0])), dtype="string[pyarrow]")
|
212 |
RandomPortfolio['WR1'] = pd.Series(list(RandomPortfolio['QB'].map(stacking_dict)), dtype="string[pyarrow]")
|