Skip to content

Error in milo.make_nhoods with 'Series' object has no attribute 'nonzero' #54

Description

@suochenqu

The problem seems to be at this step:
dist_mat = knn_dists[nhood_ixs, :]
whereby nhood_ixs is a 'Series'.
It would work with:
dist_mat = knn_dists[np.array(nhood_ixs), :]

This seems to be a problem with scipy==1.15.1

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