Spaces:
Sleeping
Sleeping
Update API.py
Browse files
API.py
CHANGED
|
@@ -107,7 +107,10 @@ def GenerateTables():
|
|
| 107 |
sections=part.get('projectsections')
|
| 108 |
for section in sections:
|
| 109 |
table3= pd.concat([table3,pd.DataFrame([[item.get('id'),section.get('projectPartId'),section.get('section')]], columns=table3.columns)], ignore_index=True)
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
# Set Tables to Sheets
|
| 113 |
def AppendtablestoSheets():
|
|
|
|
| 107 |
sections=part.get('projectsections')
|
| 108 |
for section in sections:
|
| 109 |
table3= pd.concat([table3,pd.DataFrame([[item.get('id'),section.get('projectPartId'),section.get('section')]], columns=table3.columns)], ignore_index=True)
|
| 110 |
+
table1 = pd.concat([table1, pd.DataFrame([['2222','trial1']], columns=table1.columns)], ignore_index=True)
|
| 111 |
+
table2= pd.concat([table2,pd.DataFrame([['2222','66','partname']], columns=table2.columns)], ignore_index=True)
|
| 112 |
+
table3= pd.concat([table3,pd.DataFrame([['2222','66','newSectionsss']], columns=table3.columns)], ignore_index=True)
|
| 113 |
+
return table1,table2,table3
|
| 114 |
|
| 115 |
# Set Tables to Sheets
|
| 116 |
def AppendtablestoSheets():
|