Skip to content

Commit fd51670

Browse files
committed
Update tutorials
1 parent 1c2e775 commit fd51670

7 files changed

+197
-164
lines changed

tutorials/01 - Introduction.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
{
7676
"data": {
7777
"text/plain": [
78-
"'1.0.0'"
78+
"'1.0.2'"
7979
]
8080
},
8181
"execution_count": 2,
@@ -111,4 +111,4 @@
111111
},
112112
"nbformat": 4,
113113
"nbformat_minor": 4
114-
}
114+
}

tutorials/03 - Amazon S3.ipynb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,19 @@
109109
"cell_type": "code",
110110
"execution_count": 3,
111111
"metadata": {},
112-
"outputs": [],
112+
"outputs": [
113+
{
114+
"data": {
115+
"text/plain": [
116+
"{'paths': ['s3://aws-data-wrangler-test-bucket-ql9ou148dw6r/csv/file2.csv'],\n",
117+
" 'partitions_values': {}}"
118+
]
119+
},
120+
"execution_count": 3,
121+
"metadata": {},
122+
"output_type": "execute_result"
123+
}
124+
],
113125
"source": [
114126
"path1 = f\"s3://{bucket}/csv/file1.csv\"\n",
115127
"path2 = f\"s3://{bucket}/csv/file2.csv\"\n",

tutorials/04 - Parquet Datasets.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -184,31 +184,31 @@
184184
" <tbody>\n",
185185
" <tr>\n",
186186
" <th>0</th>\n",
187+
" <td>3</td>\n",
188+
" <td>bar</td>\n",
189+
" <td>2020-01-03</td>\n",
190+
" </tr>\n",
191+
" <tr>\n",
192+
" <th>1</th>\n",
187193
" <td>1</td>\n",
188194
" <td>foo</td>\n",
189195
" <td>2020-01-01</td>\n",
190196
" </tr>\n",
191197
" <tr>\n",
192-
" <th>1</th>\n",
198+
" <th>2</th>\n",
193199
" <td>2</td>\n",
194200
" <td>boo</td>\n",
195201
" <td>2020-01-02</td>\n",
196202
" </tr>\n",
197-
" <tr>\n",
198-
" <th>2</th>\n",
199-
" <td>3</td>\n",
200-
" <td>bar</td>\n",
201-
" <td>2020-01-03</td>\n",
202-
" </tr>\n",
203203
" </tbody>\n",
204204
"</table>\n",
205205
"</div>"
206206
],
207207
"text/plain": [
208208
" id value date\n",
209-
"0 1 foo 2020-01-01\n",
210-
"1 2 boo 2020-01-02\n",
211-
"2 3 bar 2020-01-03"
209+
"0 3 bar 2020-01-03\n",
210+
"1 1 foo 2020-01-01\n",
211+
"2 2 boo 2020-01-02"
212212
]
213213
},
214214
"execution_count": 4,

tutorials/05 - Glue Catalog.ipynb

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,34 @@
293293
" </tr>\n",
294294
" </thead>\n",
295295
" <tbody>\n",
296+
" <tr>\n",
297+
" <th>0</th>\n",
298+
" <td>awswrangler_test</td>\n",
299+
" <td>lambda</td>\n",
300+
" <td></td>\n",
301+
" <td>col1, col2</td>\n",
302+
" <td></td>\n",
303+
" </tr>\n",
304+
" <tr>\n",
305+
" <th>1</th>\n",
306+
" <td>awswrangler_test</td>\n",
307+
" <td>noaa</td>\n",
308+
" <td></td>\n",
309+
" <td>id, dt, element, value, m_flag, q_flag, s_flag...</td>\n",
310+
" <td></td>\n",
311+
" </tr>\n",
296312
" </tbody>\n",
297313
"</table>\n",
298314
"</div>"
299315
],
300316
"text/plain": [
301-
"Empty DataFrame\n",
302-
"Columns: [Database, Table, Description, Columns, Partitions]\n",
303-
"Index: []"
317+
" Database Table Description \\\n",
318+
"0 awswrangler_test lambda \n",
319+
"1 awswrangler_test noaa \n",
320+
"\n",
321+
" Columns Partitions \n",
322+
"0 col1, col2 \n",
323+
"1 id, dt, element, value, m_flag, q_flag, s_flag... "
304324
]
305325
},
306326
"execution_count": 5,

0 commit comments

Comments
 (0)