Skip to content

Commit 19e6674

Browse files
committed
switch cell order
1 parent 087e403 commit 19e6674

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ingest_data/ingest-data-types/ingest_text_data.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@
159159
"metadata": {},
160160
"outputs": [],
161161
"source": [
162-
"txt_files = glob.glob(\"spam/*.txt\")\n",
163-
"for filename in txt_files:\n",
164-
" upload_to_s3(bucket, \"text_spam\", filename)"
162+
"!wget http://www.dt.fee.unicamp.br/~tiago/smsspamcollection/smsspamcollection.zip -O spam.zip\n",
163+
"!unzip -o spam.zip -d spam"
165164
]
166165
},
167166
{
@@ -170,8 +169,9 @@
170169
"metadata": {},
171170
"outputs": [],
172171
"source": [
173-
"!wget http://www.dt.fee.unicamp.br/~tiago/smsspamcollection/smsspamcollection.zip -O spam.zip\n",
174-
"!unzip -o spam.zip -d spam"
172+
"txt_files = glob.glob(\"spam/*.txt\")\n",
173+
"for filename in txt_files:\n",
174+
" upload_to_s3(bucket, \"text_spam\", filename)"
175175
]
176176
},
177177
{

0 commit comments

Comments
 (0)