Skip to main content

whylogs container API

Project description

This package is the auto generated python client for the whylogs container.

Usage

Install with

pip install whylogs-container-client

Examples

This example shows how you can bulk upload data from a pandas dataframe.

import pandas
from whylogs_container_client.api import Configuration, WhylogsApi, ApiClient

config = Configuration()
config.host = 'http://localhost:8080'
client = ApiClient(config)

whylogs_api = WhylogsApi(client)

df = pandas.read_csv('./data.csv')

multiple = df.to_dict(orient="split")
del multiple['index'] # get rid of this to min/max payload size

payload = {
  'datasetId': 'model-1',
  'multiple': multiple
}

whylogs_api.track(body=payload ,x_api_key='password')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

whylogs_container_client-0.0.1-py2.py3-none-any.whl (25.9 kB view hashes)

Uploaded Python 2 Python 3

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