@@ -1202,7 +1202,7 @@ def detailedoptimization(startarray, initialtemp=1, coolingrate=0.95, optimizati
1202
1202
print ("Initial Placement:\n " )
1203
1203
1204
1204
pdframe = startarray .returnpdframe ()
1205
- pltdata = pdframe .pivot ('Y' ,'X' ,'Celltype' )
1205
+ pltdata = pdframe .pivot (index = 'Y' ,columns = 'X' ,values = 'Celltype' )
1206
1206
print (pltdata )
1207
1207
print ()
1208
1208
@@ -1219,7 +1219,7 @@ def detailedoptimization(startarray, initialtemp=1, coolingrate=0.95, optimizati
1219
1219
print ("=== Candidate Placement ===\n " )
1220
1220
1221
1221
pdframe = array_opt .returnpdframe ()
1222
- pltdata = pdframe .pivot ('Y' ,'X' ,'Celltype' )
1222
+ pltdata = pdframe .pivot (index = 'Y' ,columns = 'X' ,values = 'Celltype' )
1223
1223
print (pltdata )
1224
1224
1225
1225
print ("=== Detailed optimization ===\n " )
@@ -1241,7 +1241,7 @@ def detailedoptimization(startarray, initialtemp=1, coolingrate=0.95, optimizati
1241
1241
print ("=== Final Placement ===\n " )
1242
1242
1243
1243
pdframe = array_opt .returnpdframe ()
1244
- pltdata = pdframe .pivot ('Y' ,'X' ,'Celltype' )
1244
+ pltdata = pdframe .pivot (index = 'Y' ,columns = 'X' ,values = 'Celltype' )
1245
1245
print (pltdata )
1246
1246
pltdata .to_csv (PlacementOutputFile , sep = '\t ' )
1247
1247
@@ -1256,7 +1256,7 @@ def detailedoptimization(startarray, initialtemp=1, coolingrate=0.95, optimizati
1256
1256
1257
1257
print ("\n === Final Nets ===\n " )
1258
1258
1259
- pltdata = pdframe .pivot ('Y' ,'X' ,'Nets' )
1259
+ pltdata = pdframe .pivot (index = 'Y' ,columns = 'X' ,values = 'Nets' )
1260
1260
# print(pltdata)
1261
1261
pltdata .to_csv (NetsOutputFile , sep = '\t ' )
1262
1262
0 commit comments