Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 120 additions & 16 deletions Test Notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,47 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"'/Users/thiagoalves/miniconda3/envs/pandas_cub/bin/python'"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import sys\n",
"sys.executable"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The autoreload extension is already loaded. To reload it, use:\n",
" %reload_ext autoreload\n"
]
}
],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -43,7 +63,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -63,27 +83,111 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
"df"
"\n",
"df = pdc.DataFrame({'a': name,'b': name,'thiahitiathia': name,'dshuadsdhai': name,'dsodkasokdpa': name,'daysurdusduasda': name,'dsijdtaosjdaosijdosad': name,'hdusahdisaiasihdia': name,'djssaijdsaojdiasjodaoa': name, 'dsijdaosjdaosijddosad': name,'dsijdaosjdaosijdoslad': name,'dsijdaosjdposijdosad': name,'dsijdaosjdaosijdoosad': name,'dsijdaosjdyaosijdosad': name})"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 18,
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/html": [
"<table><thead><tr><th></th><th>a </th><th>b </th><th>thiahitiathia</th><th>dshuadsdhai</th><th>dsodkasokdpa</th><th>daysurdusduasda</th><th>dsijdtaosjdaosijdosad</th><th>hdusahdisaiasihdia</th><th>djssaijdsaojdiasjodaoa</th><th>dsijdaosjdaosijddosad</th><th>dsijdaosjdaosijdoslad</th><th>dsijdaosjdposijdosad</th><th>dsijdaosjdaosijdoosad</th><th>dsijdaosjdyaosijdosad</th></tr></thead><tbody><tr><td><strong>0</strong></td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td><td>Penelope </td></tr><tr><td><strong>1</strong></td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td><td>Niko </td></tr><tr><td><strong>2</strong></td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td><td>Eleni </td></tr></tbody></table>"
],
"text/plain": [
"<pandas_cub.DataFrame at 0x7fb9440f18d0>"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df_final"
"df"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"metadata": {},
"outputs": [],
"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>name</th>\n",
" <th>state</th>\n",
" <th>height</th>\n",
" <th>school</th>\n",
" <th>weight</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>Penelope</td>\n",
" <td>Texas</td>\n",
" <td>3.6</td>\n",
" <td>True</td>\n",
" <td>45</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>Niko</td>\n",
" <td>California</td>\n",
" <td>3.5</td>\n",
" <td>False</td>\n",
" <td>40</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>Eleni</td>\n",
" <td>Texas</td>\n",
" <td>5.2</td>\n",
" <td>True</td>\n",
" <td>130</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" name state height school weight\n",
"0 Penelope Texas 3.6 True 45\n",
"1 Niko California 3.5 False 40\n",
"2 Eleni Texas 5.2 True 130"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df_pandas"
]
Expand All @@ -98,9 +202,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python [conda env:pandas_cub] *",
"language": "python",
"name": "python3"
"name": "conda-env-pandas_cub-py"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -112,7 +216,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.6.12"
}
},
"nbformat": 4,
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ dependencies:
- python=3.6
- pandas
- jupyter
- pytest
- pytest
- nb_conda_kernels
Loading