Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -47,16 +47,8 @@ def get_report(query, df_nearest):
|
|
47 |
table.style = 'Table Grid'
|
48 |
table.autofit = False
|
49 |
table.allow_autofit = False
|
50 |
-
table.columns[0].width = Cm(
|
51 |
-
table.rows[0].cells[0].width = Cm(
|
52 |
-
table.columns[1].width = Cm(1.8)
|
53 |
-
table.rows[1].cells[0].width = Cm(1.8)
|
54 |
-
table.columns[2].width = Cm(1.2)
|
55 |
-
table.rows[2].cells[0].width = Cm(1.2)
|
56 |
-
table.columns[3].width = Cm(6.0)
|
57 |
-
table.rows[3].cells[0].width = Cm(6.0)
|
58 |
-
table.columns[4].width = Cm(1.8)
|
59 |
-
table.rows[4].cells[0].width = Cm(1.8)
|
60 |
hdr_cells = table.rows[0].cells
|
61 |
for i, column_name in enumerate(df_nearest_filtered.columns):
|
62 |
hdr_cells[i].text = column_name
|
|
|
47 |
table.style = 'Table Grid'
|
48 |
table.autofit = False
|
49 |
table.allow_autofit = False
|
50 |
+
table.columns[0].width = Cm(2.5)
|
51 |
+
table.rows[0].cells[0].width = Cm(2.5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
hdr_cells = table.rows[0].cells
|
53 |
for i, column_name in enumerate(df_nearest_filtered.columns):
|
54 |
hdr_cells[i].text = column_name
|