Skip to content

Commit 5b9e3e2

Browse files
Fixes #270. Added tests for #include: #includeAll: #includeAny:
1 parent 4a3fb4c commit 5b9e3e2

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

src/DataFrame/DataFrame.class.st

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,29 +1243,6 @@ DataFrame >> head: aNumber [
12431243
^ self rowsAt: (1 to: (self numberOfRows min: aNumber))
12441244
]
12451245

1246-
{ #category : #'find-select' }
1247-
DataFrame >> includes: aDataSeries [
1248-
"Returns true if the DataFrame includes the specified DataSeries."
1249-
1250-
^ self rows anySatisfy: [ :row | row = aDataSeries ]
1251-
]
1252-
1253-
{ #category : #'find-select' }
1254-
DataFrame >> includesAll: aDataSeriesCollection [
1255-
"Returns true if the DataFrame includes all of the DataSeries in the specified collection."
1256-
1257-
^ aDataSeriesCollection allSatisfy: [ :dataSeries |
1258-
self includes: dataSeries ]
1259-
]
1260-
1261-
{ #category : #'find-select' }
1262-
DataFrame >> includesAny: aDataSeriesCollection [
1263-
"Returns true if the DataFrame includes any of the DataSeries in the specified collection."
1264-
1265-
^ aDataSeriesCollection anySatisfy: [ :dataSeries |
1266-
self includes: dataSeries ]
1267-
]
1268-
12691246
{ #category : #accessing }
12701247
DataFrame >> indexOfColumnNamed: columnName [
12711248
"Answer the index of a column with a given name or signal an exception if the column with that name was not found"

0 commit comments

Comments
 (0)