Skip to content

no method named apply_amortized found for reference &polars::prelude::ChunkedArray<ListType> in the current scope #76

Description

@wukan1986
error[E0599]: no method named `apply_amortized` found for reference `&polars::prelude::ChunkedArray<ListType>` in the current scope
   --> src\expressions.rs:186:31
    |
186 |     let out: ListChunked = ca.apply_amortized(|s| {
    |                            ---^^^^^^^^^^^^^^^
    |
help: there is a method `try_apply_amortized` with a similar name
    |
186 |     let out: ListChunked = ca.try_apply_amortized(|s| {
    |                               ++++

The non_zero_indices example needs to be updated because apply_amortized does not exist in polars 0.53.0

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