Skip to main content

This package provides a simple way to visualize patterns in timeseries data mapping 24 hours onto a polar plot

Project description

clock_plot

clock_plot provides a simple way to visualize timeseries data mapping 24 hours onto the 360 degrees of a polar plot. For usage, please see the examples.ipynb Jupyter notebook

seasonal gas usage clock plot

Time features are automatically generated for your timeseries These features include:

Feature Type Description Example Values
year int Calendar year 2022
month str Calendar month "January"
year_month int Calendar year and month in the format YYYYMM 202201
day int Day of calendar year 25
date str Expressed in the format YYYY-MM-DD "2022-01-25"
week int ISO week of the calendar year 5
dayofweek str Short version of day of week "Tue"
weekend str Either "weekday" or "weekend", where "weekend" is Saturday and Sunday "weekend" (Sat/Sun)
"weekday" (Mon-Fri)
hour int Hour of the day in 24 clock 14
minute int Minute of the hour 42
degrees int Angle around 24 hour clock-face measured in degrees 341
season str Season of the year defined based on month, with Winter being Dec-Feb "Winter" (Dec-Feb)
"Spring" (Mar-May)
"Summer" (Jun-Aug)
"Autumn" (Sep-Nov)

These can be used to filter your data and format your plot.

For example you could filter for a particular year, plot seasons with different colors and weekday vs weekend days with different line dashes. Examples of this are given in examples.ipynb

Installation

To install this package run: pip install clock_plot

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

clock_plot-0.1.3.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

clock_plot-0.1.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file clock_plot-0.1.3.tar.gz.

File metadata

  • Download URL: clock_plot-0.1.3.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for clock_plot-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4d60b00652c3516b44a6396f7d81c7bc51fef2d8c72f9859b05251ddd03cba2f
MD5 542bffbf2454f2b2239302c8fec78539
BLAKE2b-256 eff6e93a751b9c68727f70cab8225883f428e26bc0bf0d4a829e9d3207e030be

See more details on using hashes here.

File details

Details for the file clock_plot-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: clock_plot-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for clock_plot-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a51d1185ed0de24ace7f8d6e5b51d87774896a5a1495271022c2d6add29bd2be
MD5 8f3f2b79fb76cdb277801baff38abac6
BLAKE2b-256 caa128ceaa0918501981988b4881f5768d3553af9d6de5baefd6fd53326fcffc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page