Skip to content

Commit e0a9b28

Browse files
committed
update to all examples
1 parent 7bd9f4f commit e0a9b28

File tree

7 files changed

+1140
-979
lines changed

7 files changed

+1140
-979
lines changed

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Contents
7171
raccoon.rst
7272
usage_dataframe.rst
7373
usage_series.rst
74+
usage_dropin.rst
7475
convert_pandas.rst
7576
speed_test.rst
7677

docs/make_examples.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ FOR %%a IN (%~dp0\.) do set RACCOON=%%~dpa
55
set OLD_PYTHONPATH=%PYTHONPATH%
66
set PYTHONPATH=%PYTHONPATH%;%RACCOON%
77

8-
jupyter nbconvert --to rst --execute --output usage.rst ..\examples\usage.ipynb
8+
jupyter nbconvert --to rst --execute --output usage_dataframe.rst ..\examples\usage_dataframe.ipynb
9+
jupyter nbconvert --to rst --execute --output usage_series.rst ..\examples\usage_series.ipynb
10+
jupyter nbconvert --to rst --execute --output usage_dropin.rst ..\examples\usage_dropin.ipynb
911
jupyter nbconvert --to rst --execute --output speed_test.rst ..\examples\speed_test.ipynb
1012
set PYTHONPATH=%OLD_PYTHONPATH%

examples/convert_pandas.ipynb

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,23 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": 2,
14+
"execution_count": 1,
1515
"metadata": {
16-
"collapsed": true
16+
"pycharm": {
17+
"is_executing": false
18+
}
1719
},
1820
"outputs": [],
21+
"source": [
22+
"# remove comment to use latest development version\n",
23+
"import sys; sys.path.insert(0, '../')"
24+
]
25+
},
26+
{
27+
"cell_type": "code",
28+
"execution_count": 2,
29+
"metadata": {},
30+
"outputs": [],
1931
"source": [
2032
"import raccoon as rc\n",
2133
"import pandas as pd"
@@ -31,7 +43,7 @@
3143
},
3244
{
3345
"cell_type": "code",
34-
"execution_count": 4,
46+
"execution_count": 3,
3547
"metadata": {},
3648
"outputs": [],
3749
"source": [
@@ -48,7 +60,7 @@
4860
},
4961
{
5062
"cell_type": "code",
51-
"execution_count": 10,
63+
"execution_count": 4,
5264
"metadata": {},
5365
"outputs": [
5466
{
@@ -72,7 +84,7 @@
7284
},
7385
{
7486
"cell_type": "code",
75-
"execution_count": 11,
87+
"execution_count": 5,
7688
"metadata": {},
7789
"outputs": [
7890
{
@@ -103,10 +115,8 @@
103115
},
104116
{
105117
"cell_type": "code",
106-
"execution_count": 8,
107-
"metadata": {
108-
"collapsed": true
109-
},
118+
"execution_count": 6,
119+
"metadata": {},
110120
"outputs": [],
111121
"source": [
112122
"def pd_to_rc(pandas_dataframe):\n",
@@ -130,7 +140,7 @@
130140
},
131141
{
132142
"cell_type": "code",
133-
"execution_count": 12,
143+
"execution_count": 7,
134144
"metadata": {},
135145
"outputs": [
136146
{
@@ -153,7 +163,7 @@
153163
},
154164
{
155165
"cell_type": "code",
156-
"execution_count": 13,
166+
"execution_count": 8,
157167
"metadata": {},
158168
"outputs": [
159169
{
@@ -178,9 +188,9 @@
178188
],
179189
"metadata": {
180190
"kernelspec": {
181-
"display_name": "Python 3",
191+
"display_name": "Python [conda env:.conda-raccoon]",
182192
"language": "python",
183-
"name": "python3"
193+
"name": "conda-env-.conda-raccoon-py"
184194
},
185195
"language_info": {
186196
"codemirror_mode": {
@@ -192,9 +202,9 @@
192202
"name": "python",
193203
"nbconvert_exporter": "python",
194204
"pygments_lexer": "ipython3",
195-
"version": "3.6.1"
205+
"version": "3.7.4"
196206
}
197207
},
198208
"nbformat": 4,
199-
"nbformat_minor": 2
209+
"nbformat_minor": 4
200210
}

0 commit comments

Comments
 (0)