File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -1426,21 +1426,26 @@ DataFrame >> innerJoin: aDataFrame onLeft: leftColumn onRight: rightColumn [
1426
1426
1427
1427
{ #category : #newtools }
1428
1428
DataFrame >> inspectionItems: aBuilder [
1429
- < inspectorPresentationOrder: 0 title: ' DataFrame' >
1430
1429
1430
+ < inspectorPresentationOrder: 0 title: ' DataFrame' >
1431
1431
| table |
1432
1432
table := aBuilder newTable.
1433
1433
1434
1434
table addColumn: (SpIndexTableColumn new
1435
- title: ' #' ;
1436
- sortFunction: #yourself ascending;
1437
- beNotExpandable;
1438
- yourself ).
1435
+ title: ' #' ;
1436
+ sortFunction: #yourself ascending;
1437
+ beNotExpandable;
1438
+ yourself ).
1439
+ self rowNames = (1 to: self numberOfRows) asOrderedCollection
1440
+ ifFalse: [
1441
+ table addColumn: (SpStringTableColumn
1442
+ title: ' '
1443
+ evaluated: [ :rowWithName | rowWithName at: 1 ]) ].
1439
1444
1440
- ( self columnNames) doWithIndex: [ :headerName :columnIndex |
1445
+ self columnNames doWithIndex: [ :headerName :columnIndex |
1441
1446
table addColumn: (SpStringTableColumn
1442
- title: headerName
1443
- evaluated: [ :rowWithName | rowWithName at: columnIndex + 1 ]) ].
1447
+ title: headerName
1448
+ evaluated: [ :rowWithName | rowWithName at: columnIndex + 1 ]) ].
1444
1449
1445
1450
table items: self asArrayOfRowsWithName.
1446
1451
You can’t perform that action at this time.
0 commit comments