Skip to content

Commit

Permalink
Upload cleaner notebook files without internal build toolchain instru…
Browse files Browse the repository at this point in the history
…ctions
  • Loading branch information
wesm committed Mar 9, 2023
1 parent 9c23d82 commit f1757b8
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 1,373 deletions.
89 changes: 1 addition & 88 deletions appa.ipynb

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions appb.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"metadata": {},
"outputs": [],
"source": [
"#! ipython suppress id=009f36b80b8e4e0f8571b70fa54e4511\n",
"%pushd book-materials\n",
"import numpy as np\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
Expand All @@ -25,7 +23,6 @@
"metadata": {},
"outputs": [],
"source": [
"#! ipython id=93f746046cba429da26cf71ac13fc271\n",
"# a very large list of strings\n",
"strings = ['foo', 'foobar', 'baz', 'qux',\n",
" 'python', 'Guido Van Rossum'] * 100000\n",
Expand All @@ -41,7 +38,6 @@
"metadata": {},
"outputs": [],
"source": [
"#! ipython id=1cddb2d3bd564e93bd66d8d625b93b30\n",
"%time method1 = [x for x in strings if x.startswith('foo')]\n",
"%time method2 = [x for x in strings if x[:3] == 'foo']"
]
Expand All @@ -51,18 +47,14 @@
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"#! ipython suppress id=362c743f25684f409c9562cffa1a76db\n",
"%popd"
]
"source": []
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"#! ipython suppress id=eb88d21e8e59441e884dda4884f3d0f8\n",
"pd.options.display.max_rows = PREVIOUS_MAX_ROWS"
]
}
Expand Down

0 comments on commit f1757b8

Please sign in to comment.