Skip to content

Commit 08f6b3b

Browse files
committed
Cleaning...
1 parent 875d77e commit 08f6b3b

5 files changed

+53
-113
lines changed

revolvos-Vehicle_Fault.ipynb

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"cell_type": "code",
17-
"execution_count": 3,
17+
"execution_count": 2,
1818
"id": "3542736c-f592-428b-a5bd-3d57a38d650b",
1919
"metadata": {},
2020
"outputs": [],
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"cell_type": "code",
30-
"execution_count": 4,
30+
"execution_count": 3,
3131
"id": "0f07a1fb-bc81-4fc5-88ab-70e3d6f68ab4",
3232
"metadata": {},
3333
"outputs": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "code",
54-
"execution_count": 5,
54+
"execution_count": 4,
5555
"id": "18794700-5e2e-4382-8681-4d439f1a8020",
5656
"metadata": {},
5757
"outputs": [
@@ -60,6 +60,7 @@
6060
"output_type": "stream",
6161
"text": [
6262
"Telematics Data Dictionary 2023_02_14.xlsx\n",
63+
"Telematics Data Dictionary 2023_02_14.xlsx - SNAP_SHOT_ITEM (1).csv\n",
6364
"Vehicle_Fault.csv\n",
6465
"Vehicle_Fault_Alarm.csv\n",
6566
"Vehicle_Fault_Alarm_Item.csv\n",
@@ -77,19 +78,10 @@
7778
},
7879
{
7980
"cell_type": "code",
80-
"execution_count": 5,
81+
"execution_count": null,
8182
"id": "bf0e0d04-40b0-47f4-b105-ac530e6aa8bd",
8283
"metadata": {},
83-
"outputs": [
84-
{
85-
"name": "stdout",
86-
"output_type": "stream",
87-
"text": [
88-
"CPU times: user 1min 1s, sys: 7.51 s, total: 1min 8s\n",
89-
"Wall time: 2min 40s\n"
90-
]
91-
}
92-
],
84+
"outputs": [],
9385
"source": [
9486
"%%time\n",
9587
"# Load one of the files into a dataframe\n",
@@ -99,16 +91,16 @@
9991
},
10092
{
10193
"cell_type": "code",
102-
"execution_count": 6,
94+
"execution_count": 5,
10395
"id": "cd9f6030",
10496
"metadata": {},
10597
"outputs": [
10698
{
10799
"name": "stdout",
108100
"output_type": "stream",
109101
"text": [
110-
"CPU times: user 29.8 s, sys: 4.23 s, total: 34.1 s\n",
111-
"Wall time: 34.6 s\n"
102+
"CPU times: user 29.1 s, sys: 3.75 s, total: 32.9 s\n",
103+
"Wall time: 33.2 s\n"
112104
]
113105
}
114106
],
@@ -120,7 +112,7 @@
120112
},
121113
{
122114
"cell_type": "code",
123-
"execution_count": 7,
115+
"execution_count": 6,
124116
"id": "c3cee112-4821-47bc-935e-58a9a7807aaf",
125117
"metadata": {},
126118
"outputs": [
@@ -164,7 +156,7 @@
164156
},
165157
{
166158
"cell_type": "code",
167-
"execution_count": 8,
159+
"execution_count": 7,
168160
"id": "f9359e46-a7cb-4e7e-a2d5-5c9f2f20cf93",
169161
"metadata": {},
170162
"outputs": [
@@ -217,7 +209,7 @@
217209
},
218210
{
219211
"cell_type": "code",
220-
"execution_count": 9,
212+
"execution_count": 8,
221213
"id": "1fa5857b",
222214
"metadata": {},
223215
"outputs": [
@@ -261,7 +253,7 @@
261253
],
262254
"metadata": {
263255
"kernelspec": {
264-
"display_name": "Python 3",
256+
"display_name": "Python 3 (ipykernel)",
265257
"language": "python",
266258
"name": "python3"
267259
},

revolvos-Vehicle_Fault_Alarm.ipynb

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"output_type": "stream",
6161
"text": [
6262
"Telematics Data Dictionary 2023_02_14.xlsx\n",
63+
"Telematics Data Dictionary 2023_02_14.xlsx - SNAP_SHOT_ITEM (1).csv\n",
6364
"Vehicle_Fault.csv\n",
6465
"Vehicle_Fault_Alarm.csv\n",
6566
"Vehicle_Fault_Alarm_Item.csv\n",
@@ -77,19 +78,10 @@
7778
},
7879
{
7980
"cell_type": "code",
80-
"execution_count": 5,
81+
"execution_count": null,
8182
"id": "56f7d54e-52d4-4dbd-9399-dac5e4abd07c",
8283
"metadata": {},
83-
"outputs": [
84-
{
85-
"name": "stdout",
86-
"output_type": "stream",
87-
"text": [
88-
"CPU times: user 30.4 s, sys: 5.39 s, total: 35.8 s\n",
89-
"Wall time: 1min 10s\n"
90-
]
91-
}
92-
],
84+
"outputs": [],
9385
"source": [
9486
"%%time\n",
9587
"# Load one of the files into a dataframe\n",
@@ -107,8 +99,8 @@
10799
"name": "stdout",
108100
"output_type": "stream",
109101
"text": [
110-
"CPU times: user 17.9 s, sys: 1.98 s, total: 19.8 s\n",
111-
"Wall time: 19.8 s\n"
102+
"CPU times: user 17.5 s, sys: 1.78 s, total: 19.3 s\n",
103+
"Wall time: 19.3 s\n"
112104
]
113105
}
114106
],
@@ -267,7 +259,7 @@
267259
],
268260
"metadata": {
269261
"kernelspec": {
270-
"display_name": "Python 3",
262+
"display_name": "Python 3 (ipykernel)",
271263
"language": "python",
272264
"name": "python3"
273265
},

revolvos-Vehicle_Fault_Alarm_Item.ipynb

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"output_type": "stream",
6161
"text": [
6262
"Telematics Data Dictionary 2023_02_14.xlsx\n",
63+
"Telematics Data Dictionary 2023_02_14.xlsx - SNAP_SHOT_ITEM (1).csv\n",
6364
"Vehicle_Fault.csv\n",
6465
"Vehicle_Fault_Alarm.csv\n",
6566
"Vehicle_Fault_Alarm_Item.csv\n",
@@ -77,39 +78,10 @@
7778
},
7879
{
7980
"cell_type": "code",
80-
"execution_count": 5,
81+
"execution_count": null,
8182
"id": "887c82d7-61cb-483a-b046-9547a919ae21",
8283
"metadata": {},
83-
"outputs": [
84-
{
85-
"ename": "KeyboardInterrupt",
86-
"evalue": "",
87-
"output_type": "error",
88-
"traceback": [
89-
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
90-
"\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)",
91-
"File \u001b[0;32m<timed exec>:3\u001b[0m\n",
92-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/util/_decorators.py:211\u001b[0m, in \u001b[0;36mdeprecate_kwarg.<locals>._deprecate_kwarg.<locals>.wrapper\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 209\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 210\u001b[0m kwargs[new_arg_name] \u001b[39m=\u001b[39m new_arg_value\n\u001b[0;32m--> 211\u001b[0m \u001b[39mreturn\u001b[39;00m func(\u001b[39m*\u001b[39;49margs, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs)\n",
93-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/util/_decorators.py:331\u001b[0m, in \u001b[0;36mdeprecate_nonkeyword_arguments.<locals>.decorate.<locals>.wrapper\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 325\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mlen\u001b[39m(args) \u001b[39m>\u001b[39m num_allow_args:\n\u001b[1;32m 326\u001b[0m warnings\u001b[39m.\u001b[39mwarn(\n\u001b[1;32m 327\u001b[0m msg\u001b[39m.\u001b[39mformat(arguments\u001b[39m=\u001b[39m_format_argument_list(allow_args)),\n\u001b[1;32m 328\u001b[0m \u001b[39mFutureWarning\u001b[39;00m,\n\u001b[1;32m 329\u001b[0m stacklevel\u001b[39m=\u001b[39mfind_stack_level(),\n\u001b[1;32m 330\u001b[0m )\n\u001b[0;32m--> 331\u001b[0m \u001b[39mreturn\u001b[39;00m func(\u001b[39m*\u001b[39;49margs, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs)\n",
94-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/io/parsers/readers.py:950\u001b[0m, in \u001b[0;36mread_csv\u001b[0;34m(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, error_bad_lines, warn_bad_lines, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)\u001b[0m\n\u001b[1;32m 935\u001b[0m kwds_defaults \u001b[39m=\u001b[39m _refine_defaults_read(\n\u001b[1;32m 936\u001b[0m dialect,\n\u001b[1;32m 937\u001b[0m delimiter,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 946\u001b[0m defaults\u001b[39m=\u001b[39m{\u001b[39m\"\u001b[39m\u001b[39mdelimiter\u001b[39m\u001b[39m\"\u001b[39m: \u001b[39m\"\u001b[39m\u001b[39m,\u001b[39m\u001b[39m\"\u001b[39m},\n\u001b[1;32m 947\u001b[0m )\n\u001b[1;32m 948\u001b[0m kwds\u001b[39m.\u001b[39mupdate(kwds_defaults)\n\u001b[0;32m--> 950\u001b[0m \u001b[39mreturn\u001b[39;00m _read(filepath_or_buffer, kwds)\n",
95-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/io/parsers/readers.py:611\u001b[0m, in \u001b[0;36m_read\u001b[0;34m(filepath_or_buffer, kwds)\u001b[0m\n\u001b[1;32m 608\u001b[0m \u001b[39mreturn\u001b[39;00m parser\n\u001b[1;32m 610\u001b[0m \u001b[39mwith\u001b[39;00m parser:\n\u001b[0;32m--> 611\u001b[0m \u001b[39mreturn\u001b[39;00m parser\u001b[39m.\u001b[39;49mread(nrows)\n",
96-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/io/parsers/readers.py:1778\u001b[0m, in \u001b[0;36mTextFileReader.read\u001b[0;34m(self, nrows)\u001b[0m\n\u001b[1;32m 1771\u001b[0m nrows \u001b[39m=\u001b[39m validate_integer(\u001b[39m\"\u001b[39m\u001b[39mnrows\u001b[39m\u001b[39m\"\u001b[39m, nrows)\n\u001b[1;32m 1772\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 1773\u001b[0m \u001b[39m# error: \"ParserBase\" has no attribute \"read\"\u001b[39;00m\n\u001b[1;32m 1774\u001b[0m (\n\u001b[1;32m 1775\u001b[0m index,\n\u001b[1;32m 1776\u001b[0m columns,\n\u001b[1;32m 1777\u001b[0m col_dict,\n\u001b[0;32m-> 1778\u001b[0m ) \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_engine\u001b[39m.\u001b[39;49mread( \u001b[39m# type: ignore[attr-defined]\u001b[39;49;00m\n\u001b[1;32m 1779\u001b[0m nrows\n\u001b[1;32m 1780\u001b[0m )\n\u001b[1;32m 1781\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mException\u001b[39;00m:\n\u001b[1;32m 1782\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mclose()\n",
97-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/io/parsers/c_parser_wrapper.py:230\u001b[0m, in \u001b[0;36mCParserWrapper.read\u001b[0;34m(self, nrows)\u001b[0m\n\u001b[1;32m 228\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 229\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mlow_memory:\n\u001b[0;32m--> 230\u001b[0m chunks \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_reader\u001b[39m.\u001b[39;49mread_low_memory(nrows)\n\u001b[1;32m 231\u001b[0m \u001b[39m# destructive to chunks\u001b[39;00m\n\u001b[1;32m 232\u001b[0m data \u001b[39m=\u001b[39m _concatenate_chunks(chunks)\n",
98-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/_libs/parsers.pyx:808\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader.read_low_memory\u001b[0;34m()\u001b[0m\n",
99-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/_libs/parsers.pyx:866\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader._read_rows\u001b[0;34m()\u001b[0m\n",
100-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/_libs/parsers.pyx:852\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader._tokenize_rows\u001b[0;34m()\u001b[0m\n",
101-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pandas/_libs/parsers.pyx:1965\u001b[0m, in \u001b[0;36mpandas._libs.parsers.raise_parser_error\u001b[0;34m()\u001b[0m\n",
102-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/botocore/response.py:99\u001b[0m, in \u001b[0;36mStreamingBody.read\u001b[0;34m(self, amt)\u001b[0m\n\u001b[1;32m 94\u001b[0m \u001b[39m\"\"\"Read at most amt bytes from the stream.\u001b[39;00m\n\u001b[1;32m 95\u001b[0m \n\u001b[1;32m 96\u001b[0m \u001b[39mIf the amt argument is omitted, read all data.\u001b[39;00m\n\u001b[1;32m 97\u001b[0m \u001b[39m\"\"\"\u001b[39;00m\n\u001b[1;32m 98\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m---> 99\u001b[0m chunk \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_raw_stream\u001b[39m.\u001b[39;49mread(amt)\n\u001b[1;32m 100\u001b[0m \u001b[39mexcept\u001b[39;00m URLLib3ReadTimeoutError \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 101\u001b[0m \u001b[39m# TODO: the url will be None as urllib3 isn't setting it yet\u001b[39;00m\n\u001b[1;32m 102\u001b[0m \u001b[39mraise\u001b[39;00m ReadTimeoutError(endpoint_url\u001b[39m=\u001b[39me\u001b[39m.\u001b[39murl, error\u001b[39m=\u001b[39me)\n",
103-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/response.py:566\u001b[0m, in \u001b[0;36mHTTPResponse.read\u001b[0;34m(self, amt, decode_content, cache_content)\u001b[0m\n\u001b[1;32m 563\u001b[0m fp_closed \u001b[39m=\u001b[39m \u001b[39mgetattr\u001b[39m(\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_fp, \u001b[39m\"\u001b[39m\u001b[39mclosed\u001b[39m\u001b[39m\"\u001b[39m, \u001b[39mFalse\u001b[39;00m)\n\u001b[1;32m 565\u001b[0m \u001b[39mwith\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_error_catcher():\n\u001b[0;32m--> 566\u001b[0m data \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_fp_read(amt) \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m fp_closed \u001b[39melse\u001b[39;00m \u001b[39mb\u001b[39m\u001b[39m\"\u001b[39m\u001b[39m\"\u001b[39m\n\u001b[1;32m 567\u001b[0m \u001b[39mif\u001b[39;00m amt \u001b[39mis\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[1;32m 568\u001b[0m flush_decoder \u001b[39m=\u001b[39m \u001b[39mTrue\u001b[39;00m\n",
104-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/urllib3/response.py:532\u001b[0m, in \u001b[0;36mHTTPResponse._fp_read\u001b[0;34m(self, amt)\u001b[0m\n\u001b[1;32m 529\u001b[0m \u001b[39mreturn\u001b[39;00m buffer\u001b[39m.\u001b[39mgetvalue()\n\u001b[1;32m 530\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 531\u001b[0m \u001b[39m# StringIO doesn't like amt=None\u001b[39;00m\n\u001b[0;32m--> 532\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_fp\u001b[39m.\u001b[39;49mread(amt) \u001b[39mif\u001b[39;00m amt \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m \u001b[39melse\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_fp\u001b[39m.\u001b[39mread()\n",
105-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py:465\u001b[0m, in \u001b[0;36mHTTPResponse.read\u001b[0;34m(self, amt)\u001b[0m\n\u001b[1;32m 462\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mlength \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m \u001b[39mand\u001b[39;00m amt \u001b[39m>\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mlength:\n\u001b[1;32m 463\u001b[0m \u001b[39m# clip the read to the \"end of response\"\u001b[39;00m\n\u001b[1;32m 464\u001b[0m amt \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mlength\n\u001b[0;32m--> 465\u001b[0m s \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mfp\u001b[39m.\u001b[39mread(amt)\n\u001b[1;32m 466\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m s \u001b[39mand\u001b[39;00m amt:\n\u001b[1;32m 467\u001b[0m \u001b[39m# Ideally, we would raise IncompleteRead if the content-length\u001b[39;00m\n\u001b[1;32m 468\u001b[0m \u001b[39m# wasn't satisfied, but it might break compatibility.\u001b[39;00m\n\u001b[1;32m 469\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_close_conn()\n",
106-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/socket.py:706\u001b[0m, in \u001b[0;36mSocketIO.readinto\u001b[0;34m(self, b)\u001b[0m\n\u001b[1;32m 704\u001b[0m \u001b[39mwhile\u001b[39;00m \u001b[39mTrue\u001b[39;00m:\n\u001b[1;32m 705\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m--> 706\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_sock\u001b[39m.\u001b[39;49mrecv_into(b)\n\u001b[1;32m 707\u001b[0m \u001b[39mexcept\u001b[39;00m timeout:\n\u001b[1;32m 708\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_timeout_occurred \u001b[39m=\u001b[39m \u001b[39mTrue\u001b[39;00m\n",
107-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py:1278\u001b[0m, in \u001b[0;36mSSLSocket.recv_into\u001b[0;34m(self, buffer, nbytes, flags)\u001b[0m\n\u001b[1;32m 1274\u001b[0m \u001b[39mif\u001b[39;00m flags \u001b[39m!=\u001b[39m \u001b[39m0\u001b[39m:\n\u001b[1;32m 1275\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mValueError\u001b[39;00m(\n\u001b[1;32m 1276\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mnon-zero flags not allowed in calls to recv_into() on \u001b[39m\u001b[39m%s\u001b[39;00m\u001b[39m\"\u001b[39m \u001b[39m%\u001b[39m\n\u001b[1;32m 1277\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m\u001b[39m__class__\u001b[39m)\n\u001b[0;32m-> 1278\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mread(nbytes, buffer)\n\u001b[1;32m 1279\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 1280\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39msuper\u001b[39m()\u001b[39m.\u001b[39mrecv_into(buffer, nbytes, flags)\n",
108-
"File \u001b[0;32m/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py:1134\u001b[0m, in \u001b[0;36mSSLSocket.read\u001b[0;34m(self, len, buffer)\u001b[0m\n\u001b[1;32m 1132\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 1133\u001b[0m \u001b[39mif\u001b[39;00m buffer \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[0;32m-> 1134\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_sslobj\u001b[39m.\u001b[39;49mread(\u001b[39mlen\u001b[39;49m, buffer)\n\u001b[1;32m 1135\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 1136\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_sslobj\u001b[39m.\u001b[39mread(\u001b[39mlen\u001b[39m)\n",
109-
"\u001b[0;31mKeyboardInterrupt\u001b[0m: "
110-
]
111-
}
112-
],
84+
"outputs": [],
11385
"source": [
11486
"%%time\n",
11587
"# Load one of the files into a dataframe\n",
@@ -119,16 +91,16 @@
11991
},
12092
{
12193
"cell_type": "code",
122-
"execution_count": 6,
94+
"execution_count": 5,
12395
"id": "f719bce8",
12496
"metadata": {},
12597
"outputs": [
12698
{
12799
"name": "stdout",
128100
"output_type": "stream",
129101
"text": [
130-
"CPU times: user 29.1 s, sys: 2.96 s, total: 32 s\n",
131-
"Wall time: 32.4 s\n"
102+
"CPU times: user 28.4 s, sys: 3.61 s, total: 32 s\n",
103+
"Wall time: 32.8 s\n"
132104
]
133105
}
134106
],
@@ -140,7 +112,7 @@
140112
},
141113
{
142114
"cell_type": "code",
143-
"execution_count": 7,
115+
"execution_count": 6,
144116
"id": "8287e107-7ab8-4662-b304-0a679a5ebae3",
145117
"metadata": {},
146118
"outputs": [
@@ -161,7 +133,7 @@
161133
},
162134
{
163135
"cell_type": "code",
164-
"execution_count": 8,
136+
"execution_count": 7,
165137
"id": "2509d99e-8587-48ed-b8ed-d08934b3314d",
166138
"metadata": {},
167139
"outputs": [
@@ -184,7 +156,7 @@
184156
},
185157
{
186158
"cell_type": "code",
187-
"execution_count": 10,
159+
"execution_count": 8,
188160
"id": "404eaff7-57b6-4f51-995a-e8b70203f225",
189161
"metadata": {},
190162
"outputs": [
@@ -228,7 +200,7 @@
228200
],
229201
"metadata": {
230202
"kernelspec": {
231-
"display_name": "Python 3",
203+
"display_name": "Python 3 (ipykernel)",
232204
"language": "python",
233205
"name": "python3"
234206
},

0 commit comments

Comments
 (0)