fschwartzer commited on
Commit
2c4f07e
1 Parent(s): f906a7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -47,8 +47,16 @@ 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(2.0)
51
- table.rows[0].cells[0].width = Cm(2.0)
 
 
 
 
 
 
 
 
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
 
47
  table.style = 'Table Grid'
48
  table.autofit = False
49
  table.allow_autofit = False
50
+ table.columns[0].width = Cm(1.8)
51
+ table.rows[0].cells[0].width = Cm(1.8)
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