Skip to content

Commit 3886022

Browse files
authored
Merge pull request microsoft#371 from Derek-Wds/main
Update notebook
2 parents 834f9bd + 4861552 commit 3886022

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

examples/workflow_by_code.ipynb

+9-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@
2828
"import sys, site\n",
2929
"from pathlib import Path\n",
3030
"\n",
31+
"################################# NOTE #################################\n",
32+
"# Please be aware that if colab installs the latest numpy and pyqlib #\n",
33+
"# in this cell, users should RESTART the runtime in order to run the #\n",
34+
"# following cells successfully. #\n",
35+
"########################################################################\n",
3136
"\n",
3237
"try:\n",
3338
" import qlib\n",
3439
"except ImportError:\n",
3540
" # install qlib\n",
41+
" ! pip install --upgrade numpy\n",
3642
" ! pip install pyqlib\n",
3743
" # reload\n",
3844
" site.main()\n",
@@ -238,9 +244,7 @@
238244
{
239245
"cell_type": "code",
240246
"execution_count": null,
241-
"metadata": {
242-
"scrolled": false
243-
},
247+
"metadata": {},
244248
"outputs": [],
245249
"source": [
246250
"from qlib.contrib.report import analysis_model, analysis_position\n",
@@ -359,7 +363,7 @@
359363
"name": "python",
360364
"nbconvert_exporter": "python",
361365
"pygments_lexer": "ipython3",
362-
"version": "3.7.9"
366+
"version": "3.8.3"
363367
},
364368
"toc": {
365369
"base_numbering": 1,
@@ -377,4 +381,4 @@
377381
},
378382
"nbformat": 4,
379383
"nbformat_minor": 4
380-
}
384+
}

0 commit comments

Comments
 (0)