Skip to content
This repository was archived by the owner on Aug 25, 2026. It is now read-only.
This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Pandas 3.0 and NumPy 2.0 Compatibility Issues #12

Description

@Robinlovelace

The madina package currently crashes when run under modern python environments with pandas 3.x and numpy 2.x. This is due to two issues:

  1. pd.Series() calls include the obsolete fastpath argument which was removed in pandas 3.0.
  2. np.array_split converts DataFrames into numpy object arrays under numpy 2.0+, causing failures when parallel_betweenness attempts to iterate over DataFrame/GeoDataFrame chunks.

We have verified fixes for these issues and are submitting a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions