Skip to content

Commit 5d3d177

Browse files
committed
Speedup #asArray by delegating to the DataFrameInternal
1 parent 8c4afd9 commit 5d3d177

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DataFrame/DataFrame.class.st

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ DataFrame >> asArrayOfColumns [
467467
DataFrame >> asArrayOfRows [
468468
"Converts DataFrame to the array of rows"
469469

470-
^ (1 to: self numberOfRows) collect: [ :i |
471-
(self at: i) asArray ]
470+
^ contents asArrayOfRows
472471
]
473472

474473
{ #category : #converting }

0 commit comments

Comments
 (0)