Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import numpy as np
|
3 |
import pandas as pd
|
4 |
-
import matplotlib.pyplot as plt
|
5 |
|
6 |
def calculate_returns(y_initial, A, T, changes_in_interest_rate):
|
7 |
# Calcular el retorno para cada mes
|
@@ -51,8 +50,5 @@ def main():
|
|
51 |
st.dataframe(df)
|
52 |
st.write(f"En {T} meses tendrás $ {r_c[-1]}")
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
plt.xlabel('Mes')
|
57 |
-
plt.ylabel('Retorno')
|
58 |
-
plt.
|
|
|
1 |
import streamlit as st
|
2 |
import numpy as np
|
3 |
import pandas as pd
|
|
|
4 |
|
5 |
def calculate_returns(y_initial, A, T, changes_in_interest_rate):
|
6 |
# Calcular el retorno para cada mes
|
|
|
50 |
st.dataframe(df)
|
51 |
st.write(f"En {T} meses tendrás $ {r_c[-1]}")
|
52 |
|
53 |
+
if __name__ == "__main__":
|
54 |
+
main()
|
|
|
|
|
|