Skip to main content

Generating binary data

Project description

cw

Generating binary data

To install: pip install cw

Examples

>>> from cw import binomial_mixture
>>> import pandas as pd
>>> df = binomial_mixture(npts=5, success_prob=[0.2, 0.8], n_trials=[10, 20])
>>> isinstance(df, pd.DataFrame)
True
>>> len(df)
5

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

cw-0.0.6.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

cw-0.0.6-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file cw-0.0.6.tar.gz.

File metadata

  • Download URL: cw-0.0.6.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for cw-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1986641f6fb658427ecffc068ca7dd7ffaa3dc89d5fbeb2f3b67a1a49705d0ae
MD5 690d9479cfff6b3ad039d292862689b7
BLAKE2b-256 3e6d1a9764648bb922aa6b455e3bb559b7bd455784c5bf4322a1b2c9f233b66b

See more details on using hashes here.

File details

Details for the file cw-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: cw-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for cw-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 473e701b201d48b27fbd3553ecb6ec130f3cff5cb6012bdc632d726b52b10ff7
MD5 0fe5f3b52d7dac0e95d802b4851c933c
BLAKE2b-256 15543db10e65fa32b5ae7283b103a2887c038340b2ff978382a0a7fa65a6a0d7

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