Skip to main content

Time series for dealing with window/point data sources, which has interpolation midful of gaps

Project description

https://travis-ci.org/sealevelresearch/timeseries.svg?branch=master https://coveralls.io/repos/github/sealevelresearch/timeseries/badge.svg?branch=master

Time Series

A time series built upon pandas for dealing with window/point data sources, which has interpolation mindful of gap’s.

Design

Each window is represented by valid_from, valid_to, value.

During interpolation, the window time range is transformed into a center point datetime.

A constraint on the data model is a predefined length of a window, this length is used to query all suitable data and compute gaps.

Gaps are determined and a mask is applied to the original data frame.

When performing a query on a data frame, missing data at the tail and head are filled in.

Sample data

Below are a visual representation of data within the tests.

Example A0 - Single data day Example A1 - Non-numeric content Example A2 - Multiple with non-numeric content Example B0 - Missing window at the start Example B1 - Missing window in the middle Example B2 - Missing window at the end Example C - Gaps between windows Example D - No data Example E - Multiple columns Example F - Multiple with non-numeric content

Compatibility

This project is compatible with Python 3.5+, Pandas 0.19.

Development state

This library is in alpha state and is subject to revision.

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

pandas-timeseries-0.0.2.tar.gz (1.4 MB view details)

Uploaded Source

File details

Details for the file pandas-timeseries-0.0.2.tar.gz.

File metadata

File hashes

Hashes for pandas-timeseries-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6150c131a417146b02606607d164129c7adbda8e1a32add6573dc4ee6a694733
MD5 ef739ba873823fddccca57d083acc5c9
BLAKE2b-256 3246138019f496cf8914da2c73c1bb0b69925c3fb311fa6f092766009b3139dd

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