Spaces:
Running
Running
fschwartzer
commited on
Commit
•
9c24e66
1
Parent(s):
d89ec26
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ if not filtered_df.empty:
|
|
147 |
lines = data_string.split('\n')
|
148 |
|
149 |
# Iterate through the lines and extract the values
|
150 |
-
for line in lines[:-
|
151 |
period, value = line.split()
|
152 |
num_float = float(value)
|
153 |
monetary_value = f'R$ {num_float:,.2f}' # Adding commas for thousands separator
|
|
|
147 |
lines = data_string.split('\n')
|
148 |
|
149 |
# Iterate through the lines and extract the values
|
150 |
+
for line in lines[:-1]:
|
151 |
period, value = line.split()
|
152 |
num_float = float(value)
|
153 |
monetary_value = f'R$ {num_float:,.2f}' # Adding commas for thousands separator
|