Skip to content

Argument types too strict for pa.ListArray.from_arrays/pa.LargeList.from_arrays #169

@hmc-cs-mdrissi

Description

@hmc-cs-mdrissi

ListArray is currently annotated as only taking Array[int32]. In practice it works fine with Array[int64] or a simple list[int].

pa.ListArray.from_arrays([2,3], [0,1,2,3])

this code and similar variations work fine but produce type error as arguments are not pa.Array.

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