Skip to main content

A Metaflow card to visualize timeseries dataframes using Uplot

Project description

Metaflow Card To Plot Timeseries

Usage

  • Install this card using pip install metaflow-card-uplot

  • Usage in @step code:

@card(type='uplot',options={"artifact":"timeseries"})
@step
def start(self):
    import pandas
    index = pandas.date_range("2022-01-01", periods=60, freq="Min")
    series = {
        'first': self._fake_series(len(index), 0.1),
        'second': self._fake_series(len(index), 1)
    }
    self.timeseries = pandas.DataFrame(series, index=index)
    self.next(self.end)

def _fake_series(self, n, g):
    return [(random.random() - 0.5) * 0.1 + math.sin(x * g) for x in range(n)]

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

metaflow-card-uplot-1.0.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

metaflow_card_uplot-1.0.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file metaflow-card-uplot-1.0.0.tar.gz.

File metadata

  • Download URL: metaflow-card-uplot-1.0.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for metaflow-card-uplot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5addcb4769b3e5553228ce49fe07dfed61b369cd77ec224b8ee561277a7d9bbf
MD5 159d00209498df73496f3d4def079e07
BLAKE2b-256 627c0f8960e955b97261b4dcac9eeedf9f6cd23500db77a2cd6e8743b065a1da

See more details on using hashes here.

File details

Details for the file metaflow_card_uplot-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: metaflow_card_uplot-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for metaflow_card_uplot-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0f4169a954cbb661f16f60a1ccf62435e191f0b89c8a9ba08e93b7758ba1cef
MD5 5d148713e63a4384d81ca0b9f37d7d68
BLAKE2b-256 e98acd5d00d288c64c75d07db59023d9589d25a13be6d42944e01c15ef08d847

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