# cw
Generating binary data
To install: ```pip install cw```
# Examples
```python
>>> 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/thorwhalen/uu/tree/master/cw",
"name": "cw",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Thor Whalen",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/3e/6d/1a9764648bb922aa6b455e3bb559b7bd455784c5bf4322a1b2c9f233b66b/cw-0.0.6.tar.gz",
"platform": "any",
"description": "# cw\n\nGenerating binary data\n\nTo install:\t```pip install cw```\n\n# Examples\n\n```python\n>>> from cw import binomial_mixture\n>>> import pandas as pd\n>>> df = binomial_mixture(npts=5, success_prob=[0.2, 0.8], n_trials=[10, 20])\n>>> isinstance(df, pd.DataFrame)\nTrue\n>>> len(df)\n5\n```\n",
"bugtrack_url": null,
"license": "apache-2.0",
"summary": "Generating binary data",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/thorwhalen/uu/tree/master/cw"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "15543db10e65fa32b5ae7283b103a2887c038340b2ff978382a0a7fa65a6a0d7",
"md5": "0fe5f3b52d7dac0e95d802b4851c933c",
"sha256": "473e701b201d48b27fbd3553ecb6ec130f3cff5cb6012bdc632d726b52b10ff7"
},
"downloads": -1,
"filename": "cw-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0fe5f3b52d7dac0e95d802b4851c933c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6411,
"upload_time": "2024-08-07T16:42:02",
"upload_time_iso_8601": "2024-08-07T16:42:02.277381Z",
"url": "https://files.pythonhosted.org/packages/15/54/3db10e65fa32b5ae7283b103a2887c038340b2ff978382a0a7fa65a6a0d7/cw-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3e6d1a9764648bb922aa6b455e3bb559b7bd455784c5bf4322a1b2c9f233b66b",
"md5": "690d9479cfff6b3ad039d292862689b7",
"sha256": "1986641f6fb658427ecffc068ca7dd7ffaa3dc89d5fbeb2f3b67a1a49705d0ae"
},
"downloads": -1,
"filename": "cw-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "690d9479cfff6b3ad039d292862689b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6237,
"upload_time": "2024-08-07T16:42:03",
"upload_time_iso_8601": "2024-08-07T16:42:03.204441Z",
"url": "https://files.pythonhosted.org/packages/3e/6d/1a9764648bb922aa6b455e3bb559b7bd455784c5bf4322a1b2c9f233b66b/cw-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-07 16:42:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thorwhalen",
"github_project": "uu",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cw"
}