Skip to content

CI: New numpy nightly broke ci #51782

@phofl

Description

@phofl

NumPy changed the name of np.min from Amin to min, which causes failures for operations like:

df = pd.DataFrame({"A": [1, 2, 1, 2], "B": [1, 2, 3, 4], "C": [3, 4, 5, 6]})
result = df.agg(
    foo=("A", min),
    bar=("A", np.min),
    cat=("B", max),
)

It looks like we apply the user given names too late, we are doing a reindex before which causes failures.

numpy/numpy@10743b0

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugCIContinuous Integration

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions