Skip to content

[BUG] RayforceTypeError when calculating median #7

@ft-lakr

Description

@ft-lakr

Description

I am currently getting a RayforceTypeError when trying to select the median of a column.

Sample Data

--

Version

0.6.1

Code Snippet

from rayforce.types import *

t = Table({'id': Vector([1, 2, 3], ray_type=U8),
           'name': Vector(['Alice', 'Bob', 'Carol']),
           'height': Vector([1.65, 1.74, 1.85], ray_type=F64)})
med_height = t.select(median_height=Column('height').median()).execute()

Output

Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions