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 Requirements Status

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pandas-timeseries-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d8a6c7f049182e76894ad033954b79b4ff5d7e81c27a8e1c36edfb69751f7f69
MD5 a2c7e7e20f71a9d0520d9fb3cd7fdd34
BLAKE2b-256 cf0a21f07b7bd9027b167a0c5706b01ec3c75423bb6038fa39c63e49276c8489

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