Skip to main content

Mobility time series package for preprocessing, imputing, and analyzing mobility count observation data

Project description

mobts

Python package for preprocessing and imputing urban mobility time series data.

Designed for transport datasets such as bike counts, traffic loops, and station-based observations.


What this package does

  • Clean time series data:
  • Detects measurement errors
  • Flags and removes them
  • Imputes missing/invalid data based on a multi-tier method

Installation

pip install mobts

---

## Example of running the code

from mobts import preprocess
from mobts import impute

# Step 1: clean raw data
pp = preprocess()
df_clean = pp.run(df)

# Step 2: impute missing values
imp = impute()
df_imputed = imp.run(df_clean)

---

### Functional examples

Full step-by-step examples are available in:
 - notebooks/demo_preprocessing_imputation.ipynb

## License

This project is licensed under the MIT License, which means it is freely usable for personal and commercial purposes. The MIT License is one of the most permissive open source licenses. It allows you to do almost anything with the source code, as long as you retain the original license notice and copyright information when redistributing the software or substantial portions of it. This license comes without any warranties, so the software is provided "as is." For more details, please refer to the included LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobts-0.1.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mobts-0.1.0-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file mobts-0.1.0.tar.gz.

File metadata

  • Download URL: mobts-0.1.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mobts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bfbb3811058c1ab65968806e56dbd198cdcc37ff7e6e9b8afb1343e26614b714
MD5 0cff27a04612f01ea66d13c32f1931fb
BLAKE2b-256 b650b0076cd9a64e55c6f1e593c7f6674261ef3c9a12ee15fbd417d4d4adb859

See more details on using hashes here.

File details

Details for the file mobts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mobts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for mobts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4f96389e7c3aa8b349eecdbcebaba869df42e090e517a0ea5a295cb2afa8eff
MD5 55e025fe90a841a00d2f21bc385812cc
BLAKE2b-256 6e93ef21c655c7447cda9b433a40ee0ce0aa77cf13c5bffc647eac0efd15c456

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page