Add sample ipynb files (#218)

Co-authored-by: pietern <pietern>
This commit is contained in:
Pieter Noordhuis 2023-02-20 20:03:20 +01:00 committed by GitHub
parent a0ed02281d
commit 7398a6d1e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 134 additions and 0 deletions

35
libs/notebook/testdata/py_ipynb.ipynb vendored Normal file
View File

@ -0,0 +1,35 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "05030541-8399-4226-a499-f11b4910888c",
"showTitle": false,
"title": ""
}
},
"outputs": [],
"source": [
"# Hello world!"
]
}
],
"metadata": {
"application/vnd.databricks.v1+notebook": {
"dashboards": [],
"language": "python",
"notebookMetadata": {
"pythonIndentUnit": 2
},
"notebookName": "py_ipynb",
"notebookOrigID": 4221142147066610,
"widgets": {}
}
},
"nbformat": 4,
"nbformat_minor": 0
}

33
libs/notebook/testdata/r_ipynb.ipynb vendored Normal file
View File

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "e4b5f2c8-e2c5-49a1-86a3-8e66b5905c56",
"showTitle": false,
"title": ""
}
},
"outputs": [],
"source": [
"# Hello world!"
]
}
],
"metadata": {
"application/vnd.databricks.v1+notebook": {
"dashboards": [],
"language": "r",
"notebookMetadata": {},
"notebookName": "r_ipynb",
"notebookOrigID": 4221142147066614,
"widgets": {}
}
},
"nbformat": 4,
"nbformat_minor": 0
}

View File

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "6fd947a6-681e-489d-8976-ca98b21a82b8",
"showTitle": false,
"title": ""
}
},
"outputs": [],
"source": [
"// Hello world!"
]
}
],
"metadata": {
"application/vnd.databricks.v1+notebook": {
"dashboards": [],
"language": "scala",
"notebookMetadata": {},
"notebookName": "scala_ipynb",
"notebookOrigID": 4221142147066616,
"widgets": {}
}
},
"nbformat": 4,
"nbformat_minor": 0
}

33
libs/notebook/testdata/sql_ipynb.ipynb vendored Normal file
View File

@ -0,0 +1,33 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 0,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "3c312bc0-4ddb-452e-8fff-46f7ef4dc192",
"showTitle": false,
"title": ""
}
},
"outputs": [],
"source": [
"-- Hello world!"
]
}
],
"metadata": {
"application/vnd.databricks.v1+notebook": {
"dashboards": [],
"language": "sql",
"notebookMetadata": {},
"notebookName": "sql_ipynb",
"notebookOrigID": 4221142147066618,
"widgets": {}
}
},
"nbformat": 4,
"nbformat_minor": 0
}