Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -748,7 +748,7 @@ with tab2:
|
|
748 |
del st.session_state[key]
|
749 |
|
750 |
if slate_var1 == 'User':
|
751 |
-
initial_proj = proj_dataframe[['Player', 'Team', 'Position', 'Median', 'Own', '
|
752 |
|
753 |
# Define the calculation to be applied
|
754 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|
@@ -773,7 +773,7 @@ with tab2:
|
|
773 |
|
774 |
elif slate_var1 != 'User':
|
775 |
# Copy only the necessary columns
|
776 |
-
initial_proj = raw_baselines[['Player', 'Team', 'Position', 'Median', 'Own', '
|
777 |
|
778 |
# Define the calculation to be applied
|
779 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|
|
|
748 |
del st.session_state[key]
|
749 |
|
750 |
if slate_var1 == 'User':
|
751 |
+
initial_proj = proj_dataframe[['Player', 'Team', 'Position', 'Median', 'Own', 'Salary']]
|
752 |
|
753 |
# Define the calculation to be applied
|
754 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|
|
|
773 |
|
774 |
elif slate_var1 != 'User':
|
775 |
# Copy only the necessary columns
|
776 |
+
initial_proj = raw_baselines[['Player', 'Team', 'Position', 'Median', 'Own', 'Salary']]
|
777 |
|
778 |
# Define the calculation to be applied
|
779 |
def calculate_own(position, own, mean_own, factor, max_own=75):
|