Created
March 14, 2018 16:28
-
-
Save sirex/36a909314f6170a0f96ac734f649082f to your computer and use it in GitHub Desktop.
This file contains hidden or 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": 4, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<style scoped>\n", | |
" .dataframe tbody tr th:only-of-type {\n", | |
" vertical-align: middle;\n", | |
" }\n", | |
"\n", | |
" .dataframe tbody tr th {\n", | |
" vertical-align: top;\n", | |
" }\n", | |
"\n", | |
" .dataframe thead th {\n", | |
" text-align: right;\n", | |
" }\n", | |
"</style>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>SSUT_DATA</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>277514</th>\n", | |
" <td>2018-03-12 00:00:00.000</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>277510</th>\n", | |
" <td>2018-03-12 00:00:00.000</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>277513</th>\n", | |
" <td>2018-03-12 00:00:00.000</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>277512</th>\n", | |
" <td>2018-03-12 00:00:00.000</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>277511</th>\n", | |
" <td>2018-03-12 00:00:00.000</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" SSUT_DATA\n", | |
"277514 2018-03-12 00:00:00.000\n", | |
"277510 2018-03-12 00:00:00.000\n", | |
"277513 2018-03-12 00:00:00.000\n", | |
"277512 2018-03-12 00:00:00.000\n", | |
"277511 2018-03-12 00:00:00.000" | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"import pandas as pd\n", | |
"\n", | |
"sutartys = pd.read_csv(\n", | |
" 'http://freedata.lt/vptData/sutartys.tsv',\n", | |
" sep='\\t',\n", | |
" error_bad_lines=False,\n", | |
" usecols=['SSUT_DATA'],\n", | |
")\n", | |
"sutartys.sort_values('SSUT_DATA', ascending=False).head()" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"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.6.4" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment