Skip to content

Grand maybe useful? #11

@j6k4m8

Description

@j6k4m8

Hey Ben! Saw this repo and wondered if Grand meets your needs or if not, if there are improvements we could make that would get things more usable for you?

from grand import Graph
from grand.backends import DataFrameBackend
import pandas as pd

# Create an edges DataFrame
edges = pd.DataFrame({
    'source': [0, 1, 2, 3, 4],
    'target': [1, 2, 3, 4, 0],
    'weight': [1, 2, 3, 4, 5],
})

nodes = pd.DataFrame({
    'name': [0, 1, 2, 3, 4],
    'value': [1, 2, 3, 4, 5],
})

graph = Graph(backend=DataFrameBackend(edge_df=edges, node_df=nodes), directed=True)

(Should work on out-of-core pandas-like big data as well.)

It's useful for me to know what the shortcomings are!

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