File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 28
28
" import sys, site\n " ,
29
29
" from pathlib import Path\n " ,
30
30
" \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 " ,
31
36
" \n " ,
32
37
" try:\n " ,
33
38
" import qlib\n " ,
34
39
" except ImportError:\n " ,
35
40
" # install qlib\n " ,
41
+ " ! pip install --upgrade numpy\n " ,
36
42
" ! pip install pyqlib\n " ,
37
43
" # reload\n " ,
38
44
" site.main()\n " ,
238
244
{
239
245
"cell_type" : " code" ,
240
246
"execution_count" : null ,
241
- "metadata" : {
242
- "scrolled" : false
243
- },
247
+ "metadata" : {},
244
248
"outputs" : [],
245
249
"source" : [
246
250
" from qlib.contrib.report import analysis_model, analysis_position\n " ,
359
363
"name" : " python" ,
360
364
"nbconvert_exporter" : " python" ,
361
365
"pygments_lexer" : " ipython3" ,
362
- "version" : " 3.7.9 "
366
+ "version" : " 3.8.3 "
363
367
},
364
368
"toc" : {
365
369
"base_numbering" : 1 ,
377
381
},
378
382
"nbformat" : 4 ,
379
383
"nbformat_minor" : 4
380
- }
384
+ }
You can’t perform that action at this time.
0 commit comments