Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -630,7 +630,7 @@ if page == "Altman Z Score":
|
|
| 630 |
min_year = z_df.loc[min_idx, 'date'].year
|
| 631 |
max_year = z_df.loc[max_idx, 'date'].year
|
| 632 |
|
| 633 |
-
st.write("**---
|
| 634 |
st.write(f"Over the entire time series, the Z-Score has {trend}.")
|
| 635 |
st.write(f"The lowest value was {min_val:.2f} in {min_year}.")
|
| 636 |
st.write(f"The highest value was {max_val:.2f} in {max_year}.")
|
|
@@ -764,7 +764,7 @@ if page == "Altman Z Score":
|
|
| 764 |
min_year_d = z_df.loc[min_idx_d, 'date'].year
|
| 765 |
max_year_d = z_df.loc[max_idx_d, 'date'].year
|
| 766 |
|
| 767 |
-
st.write("**---
|
| 768 |
st.write(f"Over the chosen period, the Z-Score has {trend_d}.")
|
| 769 |
st.write(f"Lowest: {min_val_d:.2f} in {min_year_d}.")
|
| 770 |
st.write(f"Highest: {max_val_d:.2f} in {max_year_d}.")
|
|
@@ -894,7 +894,7 @@ if page == "Altman Z Score":
|
|
| 894 |
min_year_t = z_df.loc[min_idx_t, 'date'].year
|
| 895 |
max_year_t = z_df.loc[max_idx_t, 'date'].year
|
| 896 |
|
| 897 |
-
st.write("**---
|
| 898 |
st.write(f"Across the selected years, this Z-Score has {trend_t}.")
|
| 899 |
st.write(f"Minimum was {min_val_t:.2f} in {min_year_t}.")
|
| 900 |
st.write(f"Maximum was {max_val_t:.2f} in {max_year_t}.")
|
|
|
|
| 630 |
min_year = z_df.loc[min_idx, 'date'].year
|
| 631 |
max_year = z_df.loc[max_idx, 'date'].year
|
| 632 |
|
| 633 |
+
st.write("**--- Interpretation for Original Z-Score ---")
|
| 634 |
st.write(f"Over the entire time series, the Z-Score has {trend}.")
|
| 635 |
st.write(f"The lowest value was {min_val:.2f} in {min_year}.")
|
| 636 |
st.write(f"The highest value was {max_val:.2f} in {max_year}.")
|
|
|
|
| 764 |
min_year_d = z_df.loc[min_idx_d, 'date'].year
|
| 765 |
max_year_d = z_df.loc[max_idx_d, 'date'].year
|
| 766 |
|
| 767 |
+
st.write("**--- Interpretation for Z'' (Non-Manufacturing) ---**")
|
| 768 |
st.write(f"Over the chosen period, the Z-Score has {trend_d}.")
|
| 769 |
st.write(f"Lowest: {min_val_d:.2f} in {min_year_d}.")
|
| 770 |
st.write(f"Highest: {max_val_d:.2f} in {max_year_d}.")
|
|
|
|
| 894 |
min_year_t = z_df.loc[min_idx_t, 'date'].year
|
| 895 |
max_year_t = z_df.loc[max_idx_t, 'date'].year
|
| 896 |
|
| 897 |
+
st.write("**--- Interpretation for Z''' (Service/Tech) ---**")
|
| 898 |
st.write(f"Across the selected years, this Z-Score has {trend_t}.")
|
| 899 |
st.write(f"Minimum was {min_val_t:.2f} in {min_year_t}.")
|
| 900 |
st.write(f"Maximum was {max_val_t:.2f} in {max_year_t}.")
|