Skip to content

Commit 7962e3d

Browse files
improved readability
Co-authored-by: CyrilFerlicot <cyril@ferlicot.me>
1 parent 3616e38 commit 7962e3d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/DataFrame/DataFrame.class.st

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2443,9 +2443,7 @@ DataFrame >> toString [
24432443

24442444
columnWidths := dataFrame columnNames collect: [ :columnName |
24452445
| maxWidth |
2446-
columnName isString
2447-
ifFalse: [ maxWidth := columnName asString size ]
2448-
ifTrue: [ maxWidth := columnName size ].
2446+
maxWidth := columnName asString size.
24492447
dataFrame rows do: [ :row |
24502448
| value |
24512449
value := row at: columnName.

0 commit comments

Comments
 (0)