Skip to content

Commit

Permalink
refactor: excel 365 acces sheet tags and reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasParenteau committed Oct 4, 2021
1 parent 059d5fc commit 2c6b570
Showing 1 changed file with 49 additions and 8 deletions.
57 changes: 49 additions & 8 deletions Excel/Excel 365/Access Excel 365 sheet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Excel/Excel%20365/Access%20Excel%20365%20sheet.ipynb\" target=\"_parent\"><img src=\"https://img.shields.io/badge/-Open%20in%20Naas-success?labelColor=000000&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTAyNHB4IiBoZWlnaHQ9IjEwMjRweCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIj4KIDwhLS0gR2VuZXJhdGVkIGJ5IFBpeGVsbWF0b3IgUHJvIDIuMC41IC0tPgogPGRlZnM+CiAgPHRleHQgaWQ9InN0cmluZyIgdHJhbnNmb3JtPSJtYXRyaXgoMS4wIDAuMCAwLjAgMS4wIDIyOC4wIDU0LjUpIiBmb250LWZhbWlseT0iQ29tZm9ydGFhLVJlZ3VsYXIsIENvbWZvcnRhYSIgZm9udC1zaXplPSI4MDAiIHRleHQtZGVjb3JhdGlvbj0ibm9uZSIgZmlsbD0iI2ZmZmZmZiIgeD0iMS4xOTk5OTk5OTk5OTk5ODg2IiB5PSI3MDUuMCI+bjwvdGV4dD4KIDwvZGVmcz4KIDx1c2UgaWQ9Im4iIHhsaW5rOmhyZWY9IiNzdHJpbmciLz4KPC9zdmc+Cg==\"/></a>"
]
},
{
"cell_type": "markdown",
"id": "763667b8-bb11-470f-9864-b6f753399dfe",
"metadata": {},
"source": [
"**Tags:** #fao #opendata #food"
]
},
{
"cell_type": "markdown",
"id": "549b4358-0ad4-453b-8744-2a7a75f13b41",
"metadata": {},
"source": [
"## Input"
]
},
{
"cell_type": "markdown",
"id": "unknown-stamp",
Expand All @@ -20,7 +36,7 @@
"tags": []
},
"source": [
"### Step 1. Install pip package"
"### Install pip package"
]
},
{
Expand All @@ -44,7 +60,7 @@
"tags": []
},
"source": [
"### Step 2. Import sharepoint connector"
"### Import sharepoint connector"
]
},
{
Expand All @@ -68,7 +84,7 @@
"tags": []
},
"source": [
"### Step 3. Set variables\n",
"### Set variables\n",
"- username - username of sharepoint account\n",
"- password - password of sharepoint account\n",
"- domain - domain of sharepont account (eg mysite.sharepoint.com)\n",
Expand Down Expand Up @@ -97,6 +113,14 @@
"export = \"xls\" "
]
},
{
"cell_type": "markdown",
"id": "1398350c-79cb-4748-82f8-2d9d90a49e5b",
"metadata": {},
"source": [
"## Model"
]
},
{
"cell_type": "code",
"execution_count": 6,
Expand All @@ -107,8 +131,23 @@
},
"outputs": [],
"source": [
"df = sharepoint_connector.connect(username,password,domain,path,sheet,export)\n",
"df"
"df = sharepoint_connector.connect(username,password,domain,path,sheet,export)"
]
},
{
"cell_type": "markdown",
"id": "2853d389-b1bc-4207-bf66-396e9036cb05",
"metadata": {},
"source": [
"## Output"
]
},
{
"cell_type": "markdown",
"id": "2962df18-3507-4c85-8bbd-3757c23e9999",
"metadata": {},
"source": [
"### Display result"
]
},
{
Expand All @@ -120,7 +159,9 @@
"tags": []
},
"outputs": [],
"source": []
"source": [
"df"
]
}
],
"metadata": {
Expand All @@ -139,7 +180,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
"version": "3.8.8"
},
"papermill": {
"default_parameters": {},
Expand All @@ -150,4 +191,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit 2c6b570

Please sign in to comment.