Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select: on a categorical DataSeries should return a categorical DataSeries #128

Open
evd995 opened this issue Feb 13, 2020 · 0 comments
Open

Comments

@evd995
Copy link
Contributor

evd995 commented Feb 13, 2020

a := DataSeries withValues: #(1 2 2 3 5).
a makeCategorical.
a isCategorical. "true"

b := a select: [ :each | each = 2].
b isCategorical. "false"

When performing select: or reject: on a categorical DataSeries one should receive a categorical DataSeries (same with a numerical DataSeries)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants