Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conversion from graph to sparse matrix #418

Merged
merged 3 commits into from
Jul 26, 2017

Conversation

jbcrail
Copy link
Contributor

@jbcrail jbcrail commented Jul 26, 2017

When converting to a sparse matrix, if the nodes dataframe has IDs with high integer values, the generated sparse matrix would take on a shape with a range of (0, max), where max is the highest node ID. This would cause high memory usage even if only a relatively few nodes existed.

Fixes #417

When converting to a sparse matrix, if the nodes dataframe has IDs with
high integer values, the generated sparse matrix would take on a shape
with a range of (0, max), where max is the highest node ID. This would
cause high memory usage even if only a relatively few nodes existed.

Fixes holoviz#417
@jbednar
Copy link
Member

jbednar commented Jul 26, 2017

Can you check out what's making the tests fail?

@jbednar
Copy link
Member

jbednar commented Jul 26, 2017

Ready to merge?

@jbcrail
Copy link
Contributor Author

jbcrail commented Jul 26, 2017

Yes

@jbednar jbednar merged commit 23e3d79 into holoviz:master Jul 26, 2017
@jbcrail jbcrail deleted the graph_to_sparse_matrix branch July 28, 2017 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants