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.3.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pandas-timeseries-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1321018f5b02dc22c1512ac9fccb8e0818ab1876089122e58286bde57742ea0d
MD5 5d652bcaee1b71cd5d9d2bfcf68ef01d
BLAKE2b-256 41383c1e2e8d9d4f3a7ad1c06ca063f8ebfb9308b26dcdf0656bbcc4d694609d

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