Spaces:
Sleeping
Sleeping
Update API.py
Browse files
API.py
CHANGED
|
@@ -114,9 +114,9 @@ def GenerateTables():
|
|
| 114 |
sections=part.get('projectsections')
|
| 115 |
for section in sections:
|
| 116 |
table3= pd.concat([table3,pd.DataFrame([[item.get('id'),section.get('projectPartId'),section.get('section')]], columns=table3.columns)], ignore_index=True)
|
| 117 |
-
table1 = pd.concat([table1, pd.DataFrame([['2222','trial1']], columns=table1.columns)], ignore_index=True)
|
| 118 |
-
table2= pd.concat([table2,pd.DataFrame([['2222','66','partname']], columns=table2.columns)], ignore_index=True)
|
| 119 |
-
table3= pd.concat([table3,pd.DataFrame([['2222','66','newSectionsss']], columns=table3.columns)], ignore_index=True)
|
| 120 |
return table1,table2,table3
|
| 121 |
|
| 122 |
# Set Tables to Sheets
|
|
|
|
| 114 |
sections=part.get('projectsections')
|
| 115 |
for section in sections:
|
| 116 |
table3= pd.concat([table3,pd.DataFrame([[item.get('id'),section.get('projectPartId'),section.get('section')]], columns=table3.columns)], ignore_index=True)
|
| 117 |
+
# table1 = pd.concat([table1, pd.DataFrame([['2222','trial1']], columns=table1.columns)], ignore_index=True)
|
| 118 |
+
# table2= pd.concat([table2,pd.DataFrame([['2222','66','partname']], columns=table2.columns)], ignore_index=True)
|
| 119 |
+
# table3= pd.concat([table3,pd.DataFrame([['2222','66','newSectionsss']], columns=table3.columns)], ignore_index=True)
|
| 120 |
return table1,table2,table3
|
| 121 |
|
| 122 |
# Set Tables to Sheets
|