Skip to content

Commit

Permalink
generateReadme: Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Feb 22, 2022
1 parent ab855e0 commit 97a87aa
Show file tree
Hide file tree
Showing 26 changed files with 268 additions and 692 deletions.
7 changes: 5 additions & 2 deletions Boursorama/Boursorama_Get_CDS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
{
"cell_type": "markdown",
"id": "2aceffa8-7ba3-4186-b1ad-81f6e11cb685",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Author:** [Jeremy Ravenel](https://www.linkedin.com/in/ACoAAAJHE7sB5OxuKHuzguZ9L6lfDHqw--cdnJg/)"
]
Expand Down Expand Up @@ -252,4 +255,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
218 changes: 12 additions & 206 deletions CSV/CSV_Read_file.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
{
"cell_type": "markdown",
"id": "22adc193-61a4-47e5-8575-63eec1d6e77d",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"<img width=\"10%\" alt=\"Naas\" src=\"https://landen.imgix.net/jtci2pxwjczr/assets/5ice39g4.png?w=160\"/>"
]
Expand All @@ -16,8 +19,8 @@
"tags": []
},
"source": [
"# CSV - Read a csv file\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/CSV/Read_a_csv_file.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/open_in_naas.svg\"/></a>"
"# CSV - Read file\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/CSV/CSV_Read_file.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/open_in_naas.svg\"/></a>"
]
},
{
Expand Down Expand Up @@ -136,7 +139,10 @@
{
"cell_type": "markdown",
"id": "790173fe-2b01-4a87-ba3a-d27031611d3c",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"You want to add more parameters ?<br>\n",
"👉 Check out the pandas documentation <a href=\"https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html\">here</a>."
Expand Down Expand Up @@ -199,207 +205,7 @@
"papermill": {},
"tags": []
},
"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>Province/State</th>\n",
" <th>Country/Region</th>\n",
" <th>Lat</th>\n",
" <th>Long</th>\n",
" <th>1/22/20</th>\n",
" <th>1/23/20</th>\n",
" <th>1/24/20</th>\n",
" <th>1/25/20</th>\n",
" <th>1/26/20</th>\n",
" <th>1/27/20</th>\n",
" <th>...</th>\n",
" <th>2/12/22</th>\n",
" <th>2/13/22</th>\n",
" <th>2/14/22</th>\n",
" <th>2/15/22</th>\n",
" <th>2/16/22</th>\n",
" <th>2/17/22</th>\n",
" <th>2/18/22</th>\n",
" <th>2/19/22</th>\n",
" <th>2/20/22</th>\n",
" <th>2/21/22</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>NaN</td>\n",
" <td>Afghanistan</td>\n",
" <td>33.93911</td>\n",
" <td>67.709953</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>170152</td>\n",
" <td>170604</td>\n",
" <td>171246</td>\n",
" <td>171422</td>\n",
" <td>171519</td>\n",
" <td>171673</td>\n",
" <td>171857</td>\n",
" <td>171931</td>\n",
" <td>172205</td>\n",
" <td>172441</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>NaN</td>\n",
" <td>Albania</td>\n",
" <td>41.15330</td>\n",
" <td>20.168300</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>267551</td>\n",
" <td>268008</td>\n",
" <td>268304</td>\n",
" <td>268491</td>\n",
" <td>268940</td>\n",
" <td>269301</td>\n",
" <td>269601</td>\n",
" <td>269904</td>\n",
" <td>270164</td>\n",
" <td>270370</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>NaN</td>\n",
" <td>Algeria</td>\n",
" <td>28.03390</td>\n",
" <td>1.659600</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>261226</td>\n",
" <td>261752</td>\n",
" <td>262165</td>\n",
" <td>262570</td>\n",
" <td>262994</td>\n",
" <td>263369</td>\n",
" <td>263685</td>\n",
" <td>263936</td>\n",
" <td>264054</td>\n",
" <td>264201</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>NaN</td>\n",
" <td>Andorra</td>\n",
" <td>42.50630</td>\n",
" <td>1.521800</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>37140</td>\n",
" <td>37140</td>\n",
" <td>37277</td>\n",
" <td>37361</td>\n",
" <td>37452</td>\n",
" <td>37522</td>\n",
" <td>37589</td>\n",
" <td>37589</td>\n",
" <td>37589</td>\n",
" <td>37589</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>NaN</td>\n",
" <td>Angola</td>\n",
" <td>-11.20270</td>\n",
" <td>17.873900</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>...</td>\n",
" <td>98514</td>\n",
" <td>98514</td>\n",
" <td>98514</td>\n",
" <td>98555</td>\n",
" <td>98568</td>\n",
" <td>98585</td>\n",
" <td>98605</td>\n",
" <td>98617</td>\n",
" <td>98638</td>\n",
" <td>98658</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>5 rows × 766 columns</p>\n",
"</div>"
],
"text/plain": [
" Province/State Country/Region Lat Long 1/22/20 1/23/20 \\\n",
"0 NaN Afghanistan 33.93911 67.709953 0 0 \n",
"1 NaN Albania 41.15330 20.168300 0 0 \n",
"2 NaN Algeria 28.03390 1.659600 0 0 \n",
"3 NaN Andorra 42.50630 1.521800 0 0 \n",
"4 NaN Angola -11.20270 17.873900 0 0 \n",
"\n",
" 1/24/20 1/25/20 1/26/20 1/27/20 ... 2/12/22 2/13/22 2/14/22 \\\n",
"0 0 0 0 0 ... 170152 170604 171246 \n",
"1 0 0 0 0 ... 267551 268008 268304 \n",
"2 0 0 0 0 ... 261226 261752 262165 \n",
"3 0 0 0 0 ... 37140 37140 37277 \n",
"4 0 0 0 0 ... 98514 98514 98514 \n",
"\n",
" 2/15/22 2/16/22 2/17/22 2/18/22 2/19/22 2/20/22 2/21/22 \n",
"0 171422 171519 171673 171857 171931 172205 172441 \n",
"1 268491 268940 269301 269601 269904 270164 270370 \n",
"2 262570 262994 263369 263685 263936 264054 264201 \n",
"3 37361 37452 37522 37589 37589 37589 37589 \n",
"4 98555 98568 98585 98605 98617 98638 98658 \n",
"\n",
"[5 rows x 766 columns]"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"df.head(5) #read the first 5 lines"
]
Expand Down Expand Up @@ -432,4 +238,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
Loading

0 comments on commit 97a87aa

Please sign in to comment.