File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1426,21 +1426,26 @@ DataFrame >> innerJoin: aDataFrame onLeft: leftColumn onRight: rightColumn [
14261426
14271427{ #category : #newtools }
14281428DataFrame >> inspectionItems: aBuilder [
1429- < inspectorPresentationOrder: 0 title: ' DataFrame' >
14301429
1430+ < inspectorPresentationOrder: 0 title: ' DataFrame' >
14311431 | table |
14321432 table := aBuilder newTable.
14331433
14341434 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 ]) ].
14391444
1440- ( self columnNames) doWithIndex: [ :headerName :columnIndex |
1445+ self columnNames doWithIndex: [ :headerName :columnIndex |
14411446 table addColumn: (SpStringTableColumn
1442- title: headerName
1443- evaluated: [ :rowWithName | rowWithName at: columnIndex + 1 ]) ].
1447+ title: headerName
1448+ evaluated: [ :rowWithName | rowWithName at: columnIndex + 1 ]) ].
14441449
14451450 table items: self asArrayOfRowsWithName.
14461451
You can’t perform that action at this time.
0 commit comments