-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from datarootsio/fix-recipes-for-clean-notebooks
Fix recipes for clean notebooks
- Loading branch information
Showing
5 changed files
with
176 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"nbformat": 4, | ||
"nbformat_minor": 5, | ||
"metadata": {}, | ||
"cells": [ | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"# `databooks` demo!" | ||
], | ||
"cell_type": "markdown" | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"random()" | ||
], | ||
"cell_type": "code", | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"0.8025984025011855" | ||
] | ||
}, | ||
"execution_count": 2, | ||
"metadata": {}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"execution_count": null | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"from random import random" | ||
], | ||
"cell_type": "code", | ||
"outputs": [], | ||
"execution_count": null | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"print(\"It helps with resolving git conflicts but also avoiding them in the first place! \ud83c\udf89\")" | ||
], | ||
"cell_type": "code", | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"It helps with resolving git conflicts but also avoiding them in the first place! \ud83c\udf89\n" | ||
] | ||
} | ||
], | ||
"execution_count": null | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"vals = range(1,4)" | ||
], | ||
"cell_type": "code", | ||
"outputs": [], | ||
"execution_count": null | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"for v in vals:\n", | ||
" print(v)" | ||
], | ||
"cell_type": "code", | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"1\n", | ||
"2\n", | ||
"3\n" | ||
] | ||
} | ||
], | ||
"execution_count": null | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [ | ||
"print(\"As easy as running `databooks fix .`\")" | ||
], | ||
"cell_type": "code", | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"As easy as running `databooks fix .`\n" | ||
] | ||
} | ||
], | ||
"execution_count": null | ||
}, | ||
{ | ||
"metadata": {}, | ||
"source": [], | ||
"cell_type": "code", | ||
"outputs": [], | ||
"execution_count": null | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters