Skip to content

Instantly share code, notes, and snippets.

@larssono
Created June 9, 2016 23:36
Show Gist options
  • Save larssono/e23f180f7c04031682f0fd696f816616 to your computer and use it in GitHub Desktop.
Save larssono/e23f180f7c04031682f0fd696f816616 to your computer and use it in GitHub Desktop.
Convert graph.json
import pandas as pd
import json
graph = json.load(open('graph.json'))
df = pd.DataFrame(graph['vertices'])
df.to_csv('vertices.csv')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment