Last active
August 31, 2018 14:57
-
-
Save ArturTan/c519f400cd1f156d9750269245390224 to your computer and use it in GitHub Desktop.
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"scrolled": true | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"[text:'Obszar powiatu', text:'Stopa bezrobocia']\n", | |
"[number:1.0, number:2.0]\n", | |
"[text:'POLSKA', number:7.0]\n", | |
"[text:'\\xa0', text:'\\xa0']\n", | |
"[text:'DOLNOŚLĄSKIE', number:6.3]\n", | |
"[text:'\\xa0', text:'\\xa0']\n", | |
"[text:'Bolesławiecki', number:4.8]\n", | |
"[text:'Dzierżoniowski', number:8.3]\n", | |
"[text:'Głogowski', number:9.8]\n", | |
"[text:'Górowski', number:16.0]\n" | |
] | |
} | |
], | |
"source": [ | |
"import xlrd\n", | |
"workbook = xlrd.open_workbook(\"dane/Tabela_GUS.xlsx\")\n", | |
"dane_powiatowe = workbook.sheet_by_index(1)\n", | |
"for i in range(0, 10):\n", | |
" print(dane_powiatowe.row(i))" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"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.5.2" | |
}, | |
"toc": { | |
"nav_menu": {}, | |
"number_sections": true, | |
"sideBar": true, | |
"skip_h1_title": true, | |
"toc_cell": true, | |
"toc_position": {}, | |
"toc_section_display": "block", | |
"toc_window_display": false | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment