/movingpandas-examples

Example notebooks illustrating MovingPandas use cases

Primary LanguageJupyter NotebookBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Welcome to the MovingPandas examples repository!

This repository contains Jupyter notebooks demonstrating MovingPandas features.

👉 Jump right in with Example 1: Getting Started

You can run the these notebooks on MyBinder - no installation required: Binder

The main MovingPandas repo is https://github.com/anitagraser/movingpandas

Visit movingpandas.org for details!

Installation

If you want to run these examples on your local machine, use the environment definition file (environment.yml) provided in this repository.

  1. Clone the movingpandas-examples repository
  2. Install Conda (command line interface) or Anaconda (graphical user interface) and continue with the instructions in the corresponding section

Using conda

  1. Navigate to the cloned directory
  2. Run conda env create -f environment.yml

Using Anaconda

  1. In Anaconda Navigator | Environments | Import select the movingpandas-experiments environment.yml from the cloned directory

Post installation

  1. Activate the mpd-ex environment
  2. Launch Jupyter notebooks and navigate to the movingpandas-examples directory
  3. Now you can run the notebooks, experiment with the code and adjust it to your own data

Generating html exports using nbautoexport

First, you will need to install nbautoexport. Then register nbautoexport to run automatically while using Jupyter Notebook or Jupyter Lab:

  1. conda install nbautoexport --channel conda-forge
  2. nbautoexport install

Finally restart the Jupyter server.