We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84c2e18 commit 8f88306Copy full SHA for 8f88306
1 file changed
src/DataFrame/DataFrame.class.st
@@ -2179,6 +2179,13 @@ DataFrame >> size [
2179
^ self numberOfRows
2180
]
2181
2182
+{ #category : #sorting }
2183
+DataFrame >> sortBy: columnName [
2184
+ "Rearranges the rows of the data frame in ascending order of the values in the column named columnName"
2185
+
2186
+ self sortBy: columnName using: [ :a :b | a <= b ]
2187
+]
2188
2189
{ #category : #sorting }
2190
DataFrame >> sortBy: columnName using: aBlock [
2191
"Rearranges the rows of the data frame by applying the given block on the column named columnName"
0 commit comments