Skip to content

Commit 681a078

Browse files
committed
Update W2 dataset.
1 parent 4657c87 commit 681a078

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/notebooks/data-designer/forms/w2-dataset.ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
},
1313
{
1414
"cell_type": "markdown",
15+
"id": "705cf70c",
1516
"metadata": {},
1617
"source": [
1718
"# 🧾 Navigator Data Designer: W-2 Dataset Generator\n",
@@ -31,6 +32,7 @@
3132
},
3233
{
3334
"cell_type": "markdown",
35+
"id": "87c9a7c5",
3436
"metadata": {},
3537
"source": [
3638
"## Setup and Installation\n",
@@ -41,12 +43,13 @@
4143
{
4244
"cell_type": "code",
4345
"execution_count": 1,
46+
"id": "5d85b069",
4447
"metadata": {},
4548
"outputs": [],
4649
"source": [
4750
"%%capture\n",
4851
"# Install the latest version of Gretel client and dependencies\n",
49-
"%pip install -U gretel_client "
52+
"%pip install -U git+https://github.com/gretelai/gretel-python-client"
5053
]
5154
},
5255
{
@@ -89,7 +92,7 @@
8992
"# Create a samplers for an American taxpayer (employee), and employer. \n",
9093
"# While the employer isn't technically a \"person\", we'll use the person sampler for generating the employer address.\n",
9194
"dd.with_person_samplers({\n",
92-
" \"taxpayer\": {\"locale\": \"en_US\"},\n",
95+
" \"taxpayer\": {\"locale\": \"en_US\", \"age_range\": [18, 75]},\n",
9396
" \"employer\": {\"locale\": \"en_US\"},\n",
9497
"})"
9598
]
@@ -424,6 +427,7 @@
424427
},
425428
{
426429
"cell_type": "markdown",
430+
"id": "4925ab9d",
427431
"metadata": {},
428432
"source": [
429433
"## Generating and Saving the Final Dataset\n",
@@ -434,6 +438,7 @@
434438
{
435439
"cell_type": "code",
436440
"execution_count": null,
441+
"id": "21e660d4",
437442
"metadata": {},
438443
"outputs": [],
439444
"source": [

0 commit comments

Comments
 (0)