Skip to content

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

Open
@egvillalobos

Description

@egvillalobos
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)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      select: on a categorical DataSeries should return a categorical DataSeries · Issue #128 · PolyMathOrg/DataFrame