Skip to content

Show an example of generic numeric expressions #66

Description

@paddymul

This could be more of a polars-rs issue, but is there a generic way to get any integer type Series?

let left: &Int64Chunked = inputs[0].i64()?;

is shown in most of the examples, How do I get a ChunkedArray that implements the PolarsIntegerType trait? Do I have to write a big match statement?

Apologies if I'm not using the proper rust terminology. I'm learning the language, this tutorial made it seem within reach... Great work

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions