NodeXL <> Graphistry Converter

Now you can explore the results of your NodeXL data workflows with Graphistry GPU visuals!

  • Takes a url to a NodeXL .xls file (you can upload to your Colab session as well) and creates a live Graphistry viz
  • Creates a function graphistry.nodexl('http://my_url/file.xls').plot(), see calls to it at the bottom
  • You can also specify the data source for more bindings, verbose to watch progress, and which Pandas-ready Excel engine: graphistry.nodexl('http://my_url/file.xls', 'twitter', engine='xlrg', verbose=True)
  • Can upload an XLS file here too, see file upload menu on left (file will be "./my_file.xls")
  • Click graphistry logo to start a session or right-click to open in a new window and save its url
  • Rerun cells top-to-bottom by hitting shift-enter

Installs, imports, & creds

First run (non-Graphistry distributions)

You may need to restart your notebook's Python runtime after


In [0]:
# ! pip install -q --user graphistry pandas

In [0]:
# Sometimes also need to install a new system Excel parser, and pass in as `graphistry.nodexl(..., engine='openpyxl')
# pip install -q --user openpyxl

Imports & credentials


In [0]:
import pandas as pd
import graphistry
graphistry.__version__

In [0]:
# Uncomment if the Python environment does not already point to your Graphistry account
 # graphistry.register(key='...')
 # graphistry.register(protocol='https', server='my.site.com', key='...)

Sample use


In [0]:
#g = NodeXLGraphistry().xls(xls, 'twitter')
g = graphistry.nodexl('https://nodexlgraphgallery.org/Pages/Workbook.ashx?graphID=220232')

In [0]:
print('%s nodes, %s edges' % (len(g._nodes), len(g._edges)))
g._nodes.sample(2)

In [0]:
g.plot()

Twitter Demos

Debate Warren


In [0]:
graphistry.nodexl('https://nodexlgraphgallery.org/Pages/Workbook.ashx?graphID=220055', 'twitter', verbose=True).plot()

CES Samsung


In [0]:
graphistry.nodexl('https://nodexlgraphgallery.org/Pages/Workbook.ashx?graphID=219924', 'twitter', verbose=True).plot()

Larger Graph


In [0]:
graphistry.nodexl('https://www.nodexlgraphgallery.org/Pages/Workbook.ashx?graphID=220124', 'twitter', verbose=True).plot()

MediaWiki Demos

Demo 1


In [0]:
graphistry.nodexl('https://nodexlgraphgallery.org/Pages/Workbook.ashx?graphID=203001', 'mediawiki').plot()