PolyMathOrg / DataFrame

DataFrame in Pharo - tabular data structures for data analysis
MIT License
74 stars 29 forks source link

Fixes #220 . Added DataFrame>> #matchesAny: #258

Closed Joshua-Dias-Barreto closed 1 year ago

Joshua-Dias-Barreto commented 1 year ago

This method is similar to pandas .isin()

This method returns a new DataFrame where each element indicates whether it matches any value in the given collection.

jecisc commented 1 year ago

I'll close this one because it does not match the smalltalk way of manipulating data as we talked in meeting.

We can think about implementing it if we find a usecase but we can simply do ds collect: [ :each | base includes: each ].

Instead we should add tests on #includesAny: and #includesAll: to ensure they work the same way as other collections in Pharo. (returning juste a boolean)