Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -301,6 +301,8 @@ def get_correlated_dk_portfolio_for_sim(Total_Sample_Size, sharp_split, field_gr
|
|
301 |
RandomPortfolio = RandomPortfolio[RandomPortfolio['plyr_count'] == 10].drop(columns=['plyr_list','plyr_count']).\
|
302 |
reset_index(drop=True)
|
303 |
|
|
|
|
|
304 |
RandomPortfolio['C1s'] = RandomPortfolio['C1'].map(maps_dict['Salary_map']).astype(np.int32)
|
305 |
RandomPortfolio['C2s'] = RandomPortfolio['C2'].map(maps_dict['Salary_map']).astype(np.int32)
|
306 |
RandomPortfolio['W1s'] = RandomPortfolio['W1'].map(maps_dict['Salary_map']).astype(np.int32)
|
|
|
301 |
RandomPortfolio = RandomPortfolio[RandomPortfolio['plyr_count'] == 10].drop(columns=['plyr_list','plyr_count']).\
|
302 |
reset_index(drop=True)
|
303 |
|
304 |
+
st.table(RandomPortfolio.head(50))
|
305 |
+
|
306 |
RandomPortfolio['C1s'] = RandomPortfolio['C1'].map(maps_dict['Salary_map']).astype(np.int32)
|
307 |
RandomPortfolio['C2s'] = RandomPortfolio['C2'].map(maps_dict['Salary_map']).astype(np.int32)
|
308 |
RandomPortfolio['W1s'] = RandomPortfolio['W1'].map(maps_dict['Salary_map']).astype(np.int32)
|