Skip to content

Commit 3373c6b

Browse files
committed
remove the obscure pip install commands from the notebooks
1 parent df8cfb0 commit 3373c6b

5 files changed

Lines changed: 0 additions & 5 deletions

cookbook/1-RiskReturnModels.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
}
3737
},
3838
"source": [
39-
"!pip install pandas numpy matplotlib PyPortfolioOpt\n",
4039
"import os\n",
4140
"\n",
4241
"if not os.path.isdir(\"data\"):\n",

cookbook/2-Mean-Variance-Optimisation.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
},
5252
"cell_type": "code",
5353
"source": [
54-
"!pip install pandas numpy matplotlib PyPortfolioOpt\n",
5554
"import os\n",
5655
"if not os.path.isdir('data'):\n",
5756
" os.system('git clone https://github.com/pyportfolio/pyportfolioopt.git')\n",

cookbook/3-Advanced-Mean-Variance-Optimisation.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
}
4444
},
4545
"source": [
46-
"!pip install pandas numpy matplotlib yfinance PyPortfolioOpt\n",
4746
"import os\n",
4847
"if not os.path.isdir('data'):\n",
4948
" os.system('git clone https://github.com/pyportfolio/pyportfolioopt.git')\n",

cookbook/4-Black-Litterman-Allocation.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
}
4848
},
4949
"source": [
50-
"!pip install matplotlib PyPortfolioOpt\n",
5150
"import os\n",
5251
"if not os.path.isdir('data'):\n",
5352
" os.system('git clone https://github.com/pyportfolio/pyportfolioopt.git')\n",

cookbook/5-Hierarchical-Risk-Parity.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
}
5656
},
5757
"source": [
58-
"!pip install pandas numpy matplotlib PyPortfolioOpt\n",
5958
"import os\n",
6059
"if not os.path.isdir('data'):\n",
6160
" os.system('git clone https://github.com/pyportfolio/pyportfolioopt.git')\n",

0 commit comments

Comments
 (0)