Skip to content

TypeError: 'DataFrame' objects are mutable, thus they cannot be hashed #2

@DlisKeepOnGoing

Description

@DlisKeepOnGoing

When I run the pyNBS in my pc, some problem occurred in the file of network_propagation.py. It says "TypeError: 'DataFrame' objects are mutable, thus they cannot be hashed". I figure out the problem in the code "binary_matrix_filt = np.array(binary_matrix.T.ix[subgraph_nodes].fillna(0).T)", can you tell why?

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