Spaces:
Running
Running
Ludwig Stumpp
commited on
Commit
·
9a87dbf
1
Parent(s):
305acd7
Remove whitespace
Browse files- streamlit_app.py +1 -0
streamlit_app.py
CHANGED
@@ -26,6 +26,7 @@ def extract_table_and_format_from_markdown_text(markdown_table: str) -> pd.DataF
|
|
26 |
# remove whitespace from column names and index
|
27 |
df.columns = df.columns.str.strip()
|
28 |
df.index = df.index.str.strip()
|
|
|
29 |
|
30 |
return df
|
31 |
|
|
|
26 |
# remove whitespace from column names and index
|
27 |
df.columns = df.columns.str.strip()
|
28 |
df.index = df.index.str.strip()
|
29 |
+
df.index.name = df.index.name.strip()
|
30 |
|
31 |
return df
|
32 |
|