Skip to content

Commit 0818a10

Browse files
Make it compatible with Python 3.
1 parent fee408c commit 0818a10

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

climate_timeseries/climate_timeseries.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,7 @@
21862186
"source": [
21872187
"full_globe_temp.plot()\n",
21882188
"rolled_series = full_globe_temp.rolling(window=10, center=False)\n",
2189-
"print rolled_series\n",
2189+
"print(rolled_series)\n",
21902190
"rolled_series.mean().plot(figsize=LARGE_FIGSIZE)"
21912191
]
21922192
},
@@ -3341,21 +3341,21 @@
33413341
],
33423342
"metadata": {
33433343
"kernelspec": {
3344-
"display_name": "Python 2",
3344+
"display_name": "Python [Root]",
33453345
"language": "python",
3346-
"name": "python2"
3346+
"name": "Python [Root]"
33473347
},
33483348
"language_info": {
33493349
"codemirror_mode": {
33503350
"name": "ipython",
3351-
"version": 2
3351+
"version": 3
33523352
},
33533353
"file_extension": ".py",
33543354
"mimetype": "text/x-python",
33553355
"name": "python",
33563356
"nbconvert_exporter": "python",
3357-
"pygments_lexer": "ipython2",
3358-
"version": "2.7.10"
3357+
"pygments_lexer": "ipython3",
3358+
"version": "3.5.2"
33593359
}
33603360
},
33613361
"nbformat": 4,

0 commit comments

Comments
 (0)