MovingPandas is a Python library for handling movement data based on Pandas, GeoPandas, and HoloViz.
MovingPandas provides trajectory data structures and functions for movement data exploration and analysis.
The official MovingPandas API documentation is hosted on ReadTheDocs.
For more information about individual releases, check out the Changelog.
- Easily create trajectories from diverse sources, including CSV files, GIS file formats, (Geo)DataFrames, and OGC Moving Features JSONs (MF-JSON)
- Find locations for given time stamps and time spans
- Compute sampling intervals, movement direction, speed, and acceleration in a variety of spatiotemporal units
- Detect and extract stops
- Split trajectories into individual trips
- Clean, simplify, generalize, and aggregate trajectories
- Create static and interactive visualizations
Here are some examples:
Create interactive trajectory plots, including multiple linked plots with ease …
For all types of tracking data, e.g. video-based trajectories
Including plots in custom projections
Detect stops in trajectories, extract them as points or segments, and use them to split trajectories
Generalize trajectories using spatial, temporal, and spatiotemporal methods
Trajectory cleaning & smoothing
Clean and sooth trajectories by removing outliers and applying Kalman filters
Aggregate trajectories to explore larger patterns
MovingPandas is under active development and there are some exciting features coming up. If you’d like to contribute to this project, you’re welcome to head on over to the Github repo!
Please cite  when using MovingPandas in your research and reference the appropriate release version. All releases of MovingPandas are listed on Zenodo where you will find citation information, including DOIs.
 Graser, A. (2019). MovingPandas: Efficient Structures for Movement Data in Python. GI_Forum ‒ Journal of Geographic Information Science 2019, 1-2019, 54-68. doi:10.1553/giscience2019_01_s54.
If you are curious about who else is using MovingPandas, check out the list of publications citing MovingPandas.