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.5.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 892bfbfcf7629303c89ccc3d25ef1558521541a3eaff5841d0e484030a13cd7a
MD5 b55d7d8ed8109c65f5883ce92d2c2626
BLAKE2b-256 bc876449c3dd086936c9e37ed83058ffddcba30d315b356a32d6547632fc7093

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 09237d3a366d488723fb80c7babbe808eba9865930a271a26e33689fa29de5f7
MD5 026ccc5d4df900a627703bff3362f95f
BLAKE2b-256 86f3dbbee44cff11f420a0e27ac01ea68a44f4edc6d73532f5b1894504977719

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