Skip to content

Checking your reading list…

Retry verification

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Using the TransBigData Python Library for Mobile Signaling Data Processing, Analysis, and Visualization
Big Data 7 min read

Using the TransBigData Python Library for Mobile Signaling Data Processing, Analysis, and Visualization

This article introduces the TransBigData Python package, explains how to install it, read mobile signaling data with pandas, preprocess and grid the data, identify stay and move events, determine home and work locations, and visualize individual user activity using built‑in functions.

Earlier we introduced using the TransBigData library to visualize taxi GPS data; this article extends the discussion to mobile signaling data, which are abundant in everyday life.

TransBigData is a Python package designed for processing, analyzing, and visualizing spatiotemporal transportation data such as taxi GPS, shared‑bike, and bus GPS records. It provides methods for data preprocessing, gridding, visualization, trajectory handling, map basemap, coordinate conversion, and special tasks like extracting order start‑end points or building GIS network topologies.

The library can be installed via pip install -U transbigdata and imported with import transbigdata as tbd. Mobile signaling data are read with pandas, timestamps are converted to datetime, and the dataset is sorted by user and time.

Using tbd.mobile_stay_move together with a grid defined by tbd.area_to_params, the data are converted to stay (activity) and move (travel) records, as illustrated by the resulting figures.

Home and work locations are identified from the stay records with tbd.mobile_identify_home and tbd.mobile_identify_work, which apply night‑time longest stay and weekday daytime longest stay rules respectively.

Finally, individual user activity can be visualized with tbd.mobile_plot_activity, producing an interactive plot where each color represents a distinct activity period.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

Report an issue with this article
big dataPythondata visualizationgeospatial analysismobile dataTransBigData

Reader feedback

Was this useful?

Useful0

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion