Spaces:
Sleeping
Sleeping
Jackson Earl Rudoff commited on
Commit ·
b73a33d
1
Parent(s): 0c25602
fixed the applymap issue
Browse files
app.py
CHANGED
|
@@ -298,9 +298,7 @@ def server(input, output, session):
|
|
| 298 |
if donors_data.empty:
|
| 299 |
return "Formatted for ABBA: False"
|
| 300 |
|
| 301 |
-
abba = (len(donors_data.columns) == 16) and donors_data.
|
| 302 |
-
contains_special_characters
|
| 303 |
-
).any().any()
|
| 304 |
return f"Formatted for ABBA: {abba}"
|
| 305 |
|
| 306 |
|
|
|
|
| 298 |
if donors_data.empty:
|
| 299 |
return "Formatted for ABBA: False"
|
| 300 |
|
| 301 |
+
abba = (len(donors_data.columns) == 16) and donors_data.apply(lambda col: contains_special_characters(col.name)).any()
|
|
|
|
|
|
|
| 302 |
return f"Formatted for ABBA: {abba}"
|
| 303 |
|
| 304 |
|