[Issue #336] Fixing known issues in 09_tabular notebook (#340)

* Added install commands for packages in tabular nb

* Delete .gitattributes

* updated mkdir command - included parents=True
updated command to save a Path object to pickle save/load replaced to save_pickle/load_pickle

* Updated save_pickle/load_pickle calls
This commit is contained in:
Alok 2020-11-24 18:17:41 -05:00 committed by GitHub
parent 41a60e44d5
commit 4b4d127083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
"outputs": [],
"source": [
"#hide\n",
"!pip install -Uqq fastbook\n",
"!pip install -Uqq fastbook kaggle waterfallcharts treeinterpreter dtreeviz\n",
"import fastbook\n",
"fastbook.setup_book()"
]
@ -384,7 +384,7 @@
],
"source": [
"if not path.exists():\n",
" path.mkdir()\n",
" path.mkdir(parents=true)\n",
" api.competition_download_cli('bluebook-for-bulldozers', path=path)\n",
" file_extract(path/'bluebook-for-bulldozers.zip')\n",
"\n",
@ -1392,7 +1392,7 @@
"metadata": {},
"outputs": [],
"source": [
"(path/'to.pkl').save(to)"
"save_pickle(path/'to.pkl',to)"
]
},
{
@ -1434,7 +1434,7 @@
"outputs": [],
"source": [
"#hide\n",
"to = (path/'to.pkl').load()"
"to = load_pickle(path/'to.pkl')"
]
},
{
@ -9828,31 +9828,6 @@
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": true,
"skip_h1_title": true,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,