This website uses cookies for anonymised tracking and analytics. The tracking software used is called Matomo and is self-hosted. Your data never leaves this server and is not used for advertising or other nefarious purposes. By clicking accept, you agree to the privacy policy and to the use of cookies in tracking your use of the website. If, at a later time, you want to opt-out from this decision, visit this page.

Kudusch’s Trash

A blog about Life, the Universe and Everything…

timeSeriesLib

July 27, 2016

Convert case-based to time-based data

This Python library converts case-based to time-based data, which can be used in time series analysis.

Usage

python timeSeries/timeSeries.py [OPTIONS] [YOUR DATA].csv

The given data must be a csv-file, with either ,or ; as the delimiter.

The options file must contain the following parameters:

  • Start: The variable containing the timestamp stating the beginning of the case
  • End: The variable containing the timestamp stating the the end of the case
  • Delimiter: The delimiter used for input and output csv
  • Duration: The length of the time series in seconds

… and one or more of the following parameters:

  • Variable: The variable to convert
  • Values: The expected values of the variable

Requirements

  • Python 2.7

Deutsch: Mit dieser Library lassen sich Datensätze, die auf Fallbasis codiert sind in Zeit-basierte Daten umwandeln, mit denen Zeitreihenanalysen durchgeführt werden können. Die Library ist in Python geschrieben und nutzt .csv als Ein- und Ausgabe-Format.

Impressum / RSS / kudusch.de