Skip to content

Commit

Permalink
feat: init template
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebgh83 committed Feb 15, 2022
1 parent 173d25c commit bd78c8e
Showing 1 changed file with 193 additions and 0 deletions.
193 changes: 193 additions & 0 deletions Excel/Excel_custom_sheet.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "latin-packing",
"metadata": {
"execution": {
"iopub.execute_input": "2021-02-23T14:22:16.610471Z",
"iopub.status.busy": "2021-02-23T14:22:16.610129Z",
"iopub.status.idle": "2021-02-23T14:22:16.627784Z",
"shell.execute_reply": "2021-02-23T14:22:16.626866Z",
"shell.execute_reply.started": "2021-02-23T14:22:16.610384Z"
},
"papermill": {},
"tags": []
},
"source": [
"<img width=\"10%\" alt=\"Naas\" src=\"https://landen.imgix.net/jtci2pxwjczr/assets/5ice39g4.png?w=160\"/>"
]
},
{
"cell_type": "markdown",
"id": "compressed-wilson",
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"# Tool - Action of the notebook\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/template.ipynb\" target=\"_parent\">\n",
"<img src=\"https://img.shields.io/badge/-Open%20in%20Naas-success?labelColor=000000&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTAyNHB4IiBoZWlnaHQ9IjEwMjRweCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIj4KIDwhLS0gR2VuZXJhdGVkIGJ5IFBpeGVsbWF0b3IgUHJvIDIuMC41IC0tPgogPGRlZnM+CiAgPHRleHQgaWQ9InN0cmluZyIgdHJhbnNmb3JtPSJtYXRyaXgoMS4wIDAuMCAwLjAgMS4wIDIyOC4wIDU0LjUpIiBmb250LWZhbWlseT0iQ29tZm9ydGFhLVJlZ3VsYXIsIENvbWZvcnRhYSIgZm9udC1zaXplPSI4MDAiIHRleHQtZGVjb3JhdGlvbj0ibm9uZSIgZmlsbD0iI2ZmZmZmZiIgeD0iMS4xOTk5OTk5OTk5OTk5ODg2IiB5PSI3MDUuMCI+bjwvdGV4dD4KIDwvZGVmcz4KIDx1c2UgaWQ9Im4iIHhsaW5rOmhyZWY9IiNzdHJpbmciLz4KPC9zdmc+Cg==\"/>\n",
"</a>"
]
},
{
"cell_type": "markdown",
"id": "religious-programmer",
"metadata": {},
"source": [
"**Tags:** #tag1 #tag2"
]
},
{
"cell_type": "markdown",
"id": "distinguished-truth",
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Input"
]
},
{
"cell_type": "markdown",
"id": "numeric-mediterranean",
"metadata": {},
"source": [
"### Import library"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "potential-surfing",
"metadata": {},
"outputs": [],
"source": [
"import naas_drivers"
]
},
{
"cell_type": "markdown",
"id": "aggressive-trustee",
"metadata": {},
"source": [
"### Variables"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "continuous-melbourne",
"metadata": {},
"outputs": [],
"source": [
"stock_name = 'NFLX' "
]
},
{
"cell_type": "markdown",
"id": "registered-showcase",
"metadata": {},
"source": [
"## Model"
]
},
{
"cell_type": "markdown",
"id": "tested-astrology",
"metadata": {},
"source": [
"### Function"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "crude-louisville",
"metadata": {
"execution": {
"iopub.status.busy": "2021-02-23T14:28:14.665219Z",
"iopub.status.idle": "2021-02-23T14:28:14.668943Z",
"shell.execute_reply": "2021-02-23T14:28:14.666989Z"
},
"papermill": {},
"tags": []
},
"outputs": [],
"source": [
"table = naas_drivers.yahoofinance.get(stock_name, date_from=-3600, date_to=\"today\", moving_averages=[20,50])"
]
},
{
"cell_type": "markdown",
"id": "lonely-pacific",
"metadata": {
"execution": {
"iopub.execute_input": "2021-07-02T23:32:10.789097Z",
"iopub.status.busy": "2021-07-02T23:32:10.788829Z",
"iopub.status.idle": "2021-07-02T23:32:10.796900Z",
"shell.execute_reply": "2021-07-02T23:32:10.796358Z",
"shell.execute_reply.started": "2021-07-02T23:32:10.789033Z"
}
},
"source": [
"## Output"
]
},
{
"cell_type": "markdown",
"id": "linear-address",
"metadata": {},
"source": [
"### Display result"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "offensive-poetry",
"metadata": {},
"outputs": [],
"source": [
"table"
]
}
],
"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.8.8"
},
"papermill": {
"default_parameters": {},
"environment_variables": {},
"parameters": {},
"version": "2.3.3"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}

0 comments on commit bd78c8e

Please sign in to comment.