Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
0fffee9
1
Parent(s):
9ae3063
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ if not filtered_df.empty:
|
|
58 |
lines = data_string.split('\n')
|
59 |
|
60 |
# Iterate through the lines and extract the values
|
61 |
-
for line in lines:
|
62 |
period, value = line.split()
|
63 |
num_float = float(value)
|
64 |
monetary_value = f'R$ {num_float:,.2f}' # Adding commas for thousands separator
|
|
|
58 |
lines = data_string.split('\n')
|
59 |
|
60 |
# Iterate through the lines and extract the values
|
61 |
+
for line in lines[:-2]:
|
62 |
period, value = line.split()
|
63 |
num_float = float(value)
|
64 |
monetary_value = f'R$ {num_float:,.2f}' # Adding commas for thousands separator
|