Spaces:
Runtime error
Runtime error
Commit
·
56068b7
1
Parent(s):
68ca886
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,14 @@ px = string_to_list_float(st.text_input('Probabilidades da distribuição Valor
|
|
| 11 |
n = string_to_list_int(st.text_input('Quantidade de sinistros'))
|
| 12 |
pn = string_to_list_float(st.text_input('Probabilidades da distribuição Frequência de sinistros'))
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
n = string_to_list_int(st.text_input('Quantidade de sinistros'))
|
| 12 |
pn = string_to_list_float(st.text_input('Probabilidades da distribuição Frequência de sinistros'))
|
| 13 |
|
| 14 |
+
df = pd.DataFrame(
|
| 15 |
+
{
|
| 16 |
+
'X': x, 'PX': px, 'N': n, 'PN':pn
|
| 17 |
+
}
|
| 18 |
+
)
|
| 19 |
+
|
| 20 |
+
st.write(df)
|
| 21 |
+
#st.write('X:', x)
|
| 22 |
+
#st.write('P(X):', px)
|
| 23 |
+
#st.write('N:', n)
|
| 24 |
+
#st.write('P(N):', pn)
|