Git Product home page Git Product logo

pydata-networkx's Introduction

Networks, Game of Thrones and US Airports.

NOTE: This repo will be updated before the tutorial so make sure to pull new changes.

Set Up

For this tutorial, you will need Python 3 and the following packages:

  • networkx
  • pandas
  • matplotlib
  • numpy
  • jupyter

Python2 may/may not work, no promises :)

Or you can use Binder (only if you have a stable WiFi connection) Binder

and another deployment of Binder https://notebooks.gesis.org/binder/v2/gh/mriduls/pydata-networkx/master

If you have a microsoft account you can use Microsoft Azure notebooks too using https://notebooks.azure.com/MridulS/libraries/pydata-networkx, click on clone and you are good to do :)

HTML notebooks

Clone/Download the repo

  • $ cd /path/to/your/directory
  • Clone the repository from GitHub $ git clone https://github.com/mriduls/pydata-networkx
  • $ cd pydata-networkx

OR

  • Download the required notebooks from https://github.com/MridulS/pydata-networkx/archive/master.zip
  • unzip the files and change the directory to $ cd pydata-networkx-master

Install packages

Using pip and virtualenv

  • Create a virtual environment for this tutorial, so that the installed packages do not mess with your regular Python environment.
    • $ (sudo) pip install virtualenv
    • $ virtualenv -p python3 networkx
    • $ source networkx/bin/activate
  • $ pip install -r requirements.txt

Using Anaconda

If you have the Anaconda distribution of Python 3 installed, then run the commands below.

  • $ conda env create -f environment.yml
  • $ source activate networkx

Check your environment:

  • $ python checkenv.py

Run the Jupyter Notebook

$ jupyter notebook

Your browser will open to an index page where you can click on a notebook to run it.

Links

There is an adpated version of this tutorial in Spanish, thanks to @iris9112 -> https://github.com/iris9112/pycon2019_iris9112

Credits

This tutorial is built on and inspired by the previous offerings of this tutorial at PyData LA 2018, PyData NYC 2018, PyData Delhi 2018, SciPy 2018, PyCon US 2018, PyData London 2018, PyData NYC 2017, PyConDE 2017, PyCon PL 2017, EuroSciPy 2017, EuroSciPy 2016, SciPy India 2015 and is a part of (notebooks 7 and 8) Eric Ma's tutorial Network Analysis made Simple https://github.com/ericmjl/Network-Analysis-Made-Simple

pydata-networkx's People

Contributors

mriduls avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.