Spaces:
Sleeping
Sleeping
Update deploying_3_3.py
Browse files- deploying_3_3.py +5 -1
deploying_3_3.py
CHANGED
|
@@ -1121,7 +1121,11 @@ def mainFunctionDrawImgPdf(datadoc,dxfpath, dxfratio,pdfpath=0,pdfname=0):
|
|
| 1121 |
'Total Area': 'sum', # Sum of areas for each color
|
| 1122 |
'Perimeter':'first',
|
| 1123 |
'Total Perimeter': 'sum', # Sum of perimeters for each color
|
| 1124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1125 |
}).reset_index()
|
| 1126 |
|
| 1127 |
SimilarAreaDictionary = grouped_df
|
|
|
|
| 1121 |
'Total Area': 'sum', # Sum of areas for each color
|
| 1122 |
'Perimeter':'first',
|
| 1123 |
'Total Perimeter': 'sum', # Sum of perimeters for each color
|
| 1124 |
+
'Length':'first',
|
| 1125 |
+
'Total Length':'first',
|
| 1126 |
+
'Texts':'first',
|
| 1127 |
+
'Comments':'first'
|
| 1128 |
+
|
| 1129 |
}).reset_index()
|
| 1130 |
|
| 1131 |
SimilarAreaDictionary = grouped_df
|