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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mobts-0.1.2.tar.gz.
File metadata
- Download URL: mobts-0.1.2.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7948eb791936fd9972013b1ca530fb23b550854b53373cca5e1a42a7ff9cc0f1
|
|
| MD5 |
df9e46ecc09b16e3c0ec6778a3fb4c2a
|
|
| BLAKE2b-256 |
97a22ca2c717e02013a6e3c3d7594d173451831c5573a98b69d60919405cdafe
|
File details
Details for the file mobts-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mobts-0.1.2-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23520870ab1dd17d9c005b9dc6ed387750d462061d20a79dcf2eb99efbc4edea
|
|
| MD5 |
69dd20d72fd5d52b7f439904bb4f7c19
|
|
| BLAKE2b-256 |
ce1535b6b91ab41c309d0606fe826ea00f66fca9fbaefda66e69cbaff87b9229
|