Skip to content

Commit

Permalink
Modify Dask tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ajijohn committed Aug 15, 2020
1 parent b0d845e commit d3b584d
Showing 1 changed file with 30 additions and 11 deletions.
41 changes: 30 additions & 11 deletions Dask.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -209,23 +209,42 @@
},
{
"cell_type": "code",
"execution_count": 45,
"execution_count": 48,
"metadata": {},
"outputs": [
{
"ename": "NameError",
"evalue": "name 'progress' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-45-2deae930faca>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mprogress\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfutures\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mNameError\u001b[0m: name 'progress' is not defined"
]
"data": {
"text/plain": [
"[<Future: finished, type: xarray.DataArray, key: calc_stats-67e3da04957bf0feab864bb9d4e244ef>,\n",
" <Future: finished, type: xarray.DataArray, key: calc_stats-4b33172b3ddf49750d64564c10c48759>,\n",
" <Future: finished, type: xarray.DataArray, key: calc_stats-9e21c1bd6aa5f8d09d95c2f169a4cd2c>]"
]
},
"execution_count": 48,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"progress(futures)"
"futures[:3]"
]
},
{
"cell_type": "code",
"execution_count": 46,
"metadata": {},
"outputs": [],
"source": [
"from distributed import progress"
]
},
{
"cell_type": "code",
"execution_count": 49,
"metadata": {},
"outputs": [],
"source": [
"#progress(futures)"
]
},
{
Expand Down

0 comments on commit d3b584d

Please sign in to comment.