Created
May 22, 2017 18:32
-
-
Save tylere/77eb0ac86f40006bf0016cacd276b93a to your computer and use it in GitHub Desktop.
Jupyter notebook for executing a series of notebooks and exporting them.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false, | |
"deletable": true, | |
"editable": true | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"/content/datalab\r\n" | |
] | |
} | |
], | |
"source": [ | |
"!pwd" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Import libraries, and print the notebook library version." | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": { | |
"collapsed": false, | |
"deletable": true, | |
"editable": true | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"notebook version = 4.2.3\n" | |
] | |
} | |
], | |
"source": [ | |
"import notebook\n", | |
"import io\n", | |
"import os\n", | |
"from nbconvert import HTMLExporter\n", | |
"from nbconvert import MarkdownExporter\n", | |
"from nbconvert.preprocessors import ExecutePreprocessor\n", | |
"from nbconvert.preprocessors.execute import CellExecutionError\n", | |
"import nbformat\n", | |
"import pprint\n", | |
"\n", | |
"print('notebook version = {0}'.format(notebook.__version__))" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Execute Datalab notebooks, and export them in HTML and Markdown formats." | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": false, | |
"deletable": true, | |
"editable": true | |
}, | |
"outputs": [], | |
"source": [ | |
"ENCODING = 'utf-8'\n", | |
"OUTPUT_PATH = 'nbconvert_output_notebook{0}'.format(notebook.__version__)\n", | |
"print('OUTPUT_PATH', OUTPUT_PATH)\n", | |
"if not os.path.exists(OUTPUT_PATH):\n", | |
" os.makedirs(OUTPUT_PATH)\n", | |
"\n", | |
"ep = ExecutePreprocessor(timeout=600, kernel_name='python2')\n", | |
"html_exporter = HTMLExporter()\n", | |
"markdown_exporter = MarkdownExporter()\n", | |
"\n", | |
"# Build a list of notebook filepaths.\n", | |
"templist = []\n", | |
"for (path, dirs, files) in os.walk('/content/datalab/docs'):\n", | |
" temp_files = [os.path.join(path, f) for f in files if (f.endswith('.ipynb') and not f.endswith('checkpoint.ipynb'))]\n", | |
" templist.append(temp_files)\n", | |
"\n", | |
"# Flatten the list of files.\n", | |
"flat_list = [item for sublist in templist for item in sublist]\n", | |
"\n", | |
"# Remove long-running notebooks.\n", | |
"flat_list.remove('/content/datalab/docs/samples/ML Toolbox/Image Classification/Coast/Local End to End.ipynb')\n", | |
"flat_list.remove('/content/datalab/docs/samples/ML Toolbox/Image Classification/Flower/Local End to End.ipynb')\n", | |
"flat_list.remove('/content/datalab/docs/samples/TensorFlow/LSTM Punctuation Model With TensorFlow.ipynb')\n", | |
"\n", | |
"for filepath in flat_list:\n", | |
" print('processing: ' + filepath)\n", | |
" notebook_filename = os.path.basename(filepath)\n", | |
" \n", | |
" notebook_filename_out = os.path.join(\n", | |
" OUTPUT_PATH,\n", | |
" 'executed_' + os.path.splitext(notebook_filename)[0] + '.ipynb'\n", | |
" )\n", | |
" if os.path.isfile(notebook_filename_out): \n", | |
" print(' output file already exists: {0}'.format(notebook_filename_out))\n", | |
" with io.open(notebook_filename_out) as f:\n", | |
" nb = nbformat.reads(f.read(), as_version=4)\n", | |
" else: \n", | |
" with io.open(filepath) as f:\n", | |
" nb = nbformat.reads(f.read(), as_version=4)\n", | |
" try:\n", | |
" out = ep.preprocess(nb, {'metadata': {'path': OUTPUT_PATH + '/'}})\n", | |
" except CellExecutionError:\n", | |
" msg = ' Error executing the notebook \"%s\".\\n' % notebook_filename\n", | |
" msg += ' See notebook \"%s\" for the traceback.\\n' % notebook_filename_out\n", | |
" print(msg)\n", | |
" except RuntimeError:\n", | |
" msg = ' Runtime Error for the notebook \"%s\".\\n' % notebook_filename\n", | |
" print(msg)\n", | |
" finally:\n", | |
" with io.open(notebook_filename_out, mode='wt') as f:\n", | |
" nbformat.write(nb, f)\n", | |
" print(' created output file: {0}'.format(notebook_filename_out))\n", | |
" \n", | |
" # Export the notebook in different formats.\n", | |
" for exporter in [html_exporter, markdown_exporter]:\n", | |
" exported_filename_out = os.path.splitext(notebook_filename_out)[0] + exporter.file_extension\n", | |
" if os.path.isfile(exported_filename_out): \n", | |
" print(' output file already exists: {0}'.format(exported_filename_out))\n", | |
" else: \n", | |
" (body, resources) = exporter.from_notebook_node(nb)\n", | |
" with io.open(exported_filename_out, 'w') as f:\n", | |
" f.write(body)\n", | |
" print('wrote ' + exported_filename_out)" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"deletable": true, | |
"editable": true | |
}, | |
"source": [ | |
"# Copy of the execution output for notebook==4.2.3\n", | |
"\n", | |
"('OUTPUT_PATH', 'nbconvert_output_notebook4.2.3')\n", | |
"processing: /content/datalab/docs/Hello World.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Hello World.ipynb\n", | |
"processing: /content/datalab/docs/Readme.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Readme.ipynb\n", | |
"processing: /content/datalab/docs/test error response.ipynb\n", | |
" Error executing the notebook \"test error response.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_test error response.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_test error response.ipynb\n", | |
"processing: /content/datalab/docs/Test IPyLeaflet.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Test IPyLeaflet.ipynb\n", | |
"processing: /content/datalab/docs/intro/Introduction to Notebooks.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Introduction to Notebooks.ipynb\n", | |
"processing: /content/datalab/docs/intro/Introduction to Python.ipynb\n", | |
" Error executing the notebook \"Introduction to Python.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_Introduction to Python.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Introduction to Python.ipynb\n", | |
"processing: /content/datalab/docs/intro/Using Datalab - Accessing Cloud Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Using Datalab - Accessing Cloud Data.ipynb\n", | |
"processing: /content/datalab/docs/samples/Anomaly Detection in HTTP Logs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Anomaly Detection in HTTP Logs.ipynb\n", | |
"processing: /content/datalab/docs/samples/Conversion Analysis with Google Analytics Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Conversion Analysis with Google Analytics Data.ipynb\n", | |
"processing: /content/datalab/docs/samples/Exploring Genomics Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Exploring Genomics Data.ipynb\n", | |
"processing: /content/datalab/docs/samples/Programming Language Correlation.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Programming Language Correlation.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Classification/Iris/1 Local End to End.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_1 Local End to End.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Image Classification/Coast/Service End to End.ipynb\n", | |
" Error executing the notebook \"Service End to End.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_Service End to End.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Service End to End.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Image Classification/Coast/Setup.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Setup.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Image Classification/Flower/Service End to End.ipynb\n", | |
" output file already exists: nbconvert_output_notebook4.2.3/executed_Service End to End.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/0 Readme and Setup.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_0 Readme and Setup.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/1 Local End to End.ipynb\n", | |
" output file already exists: nbconvert_output_notebook4.2.3/executed_1 Local End to End.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/2 Service Preprocess.ipynb\n", | |
" Error executing the notebook \"2 Service Preprocess.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_2 Service Preprocess.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_2 Service Preprocess.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/3 Service Train.ipynb\n", | |
" Error executing the notebook \"3 Service Train.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_3 Service Train.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_3 Service Train.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/4 Service Evaluate.ipynb\n", | |
" Error executing the notebook \"4 Service Evaluate.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_4 Service Evaluate.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_4 Service Evaluate.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/5 Service Predict.ipynb\n", | |
" Error executing the notebook \"5 Service Predict.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_5 Service Predict.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_5 Service Predict.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/6 Cleanup.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_6 Cleanup.ipynb\n", | |
"processing: /content/datalab/docs/samples/TensorFlow/Machine Learning with Financial Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Machine Learning with Financial Data.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery APIs.ipynb\n", | |
" Runtime Error for the notebook \"BigQuery APIs.ipynb\".\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_BigQuery APIs.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery Commands.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_BigQuery Commands.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery Magic Commands and DML.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_BigQuery Magic Commands and DML.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery Parameterization.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_BigQuery Parameterization.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/Hello BigQuery.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Hello BigQuery.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/Importing and Exporting Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Importing and Exporting Data.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/SQL and Pandas DataFrames.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_SQL and Pandas DataFrames.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/SQL Query Composition.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_SQL Query Composition.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/UDF Testing in the Notebook.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_UDF Testing in the Notebook.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/UDFs in BigQuery.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_UDFs in BigQuery.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/UDFs using Code in Cloud Storage.ipynb\n", | |
" Error executing the notebook \"UDFs using Code in Cloud Storage.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_UDFs using Code in Cloud Storage.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_UDFs using Code in Cloud Storage.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/Using External Tables from BigQuery.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Using External Tables from BigQuery.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/Data/Interactive Charts with Google Charting APIs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Interactive Charts with Google Charting APIs.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/Stackdriver Monitoring/Getting started.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Getting started.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/Stackdriver Monitoring/Group metrics.ipynb\n", | |
" Error executing the notebook \"Group metrics.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.2.3/executed_Group metrics.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Group metrics.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/Stackdriver Monitoring/Time-shifted data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Time-shifted data.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/Storage/Storage APIs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Storage APIs.ipynb\n", | |
"processing: /content/datalab/docs/tutorials/Storage/Storage Commands.ipynb\n", | |
" created output file: nbconvert_output_notebook4.2.3/executed_Storage Commands.ipynb" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"deletable": true, | |
"editable": true | |
}, | |
"source": [ | |
"# Copy of the execution output for notebook==4.4.1\n", | |
"\n", | |
"('OUTPUT_PATH', 'nbconvert_output_notebook4.4.1')\n", | |
"processing: /content/datalab/docs/Hello World.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Hello World.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Hello World.html\n", | |
"processing: /content/datalab/docs/Readme.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Readme.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Readme.html\n", | |
"processing: /content/datalab/docs/test error response.ipynb\n", | |
" Error executing the notebook \"test error response.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_test error response.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_test error response.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_test error response.html\n", | |
"processing: /content/datalab/docs/Test IPyLeaflet.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Test IPyLeaflet.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Test IPyLeaflet.html\n", | |
"processing: /content/datalab/docs/intro/Introduction to Notebooks.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Introduction to Notebooks.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Introduction to Notebooks.html\n", | |
"processing: /content/datalab/docs/intro/Introduction to Python.ipynb\n", | |
" Error executing the notebook \"Introduction to Python.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_Introduction to Python.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Introduction to Python.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Introduction to Python.html\n", | |
"processing: /content/datalab/docs/intro/Using Datalab - Accessing Cloud Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Using Datalab - Accessing Cloud Data.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Using Datalab - Accessing Cloud Data.html\n", | |
"processing: /content/datalab/docs/samples/Anomaly Detection in HTTP Logs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Anomaly Detection in HTTP Logs.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Anomaly Detection in HTTP Logs.html\n", | |
"processing: /content/datalab/docs/samples/Conversion Analysis with Google Analytics Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Conversion Analysis with Google Analytics Data.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Conversion Analysis with Google Analytics Data.html\n", | |
"processing: /content/datalab/docs/samples/Exploring Genomics Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Exploring Genomics Data.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Exploring Genomics Data.html\n", | |
"processing: /content/datalab/docs/samples/Programming Language Correlation.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Programming Language Correlation.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Programming Language Correlation.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Classification/Iris/1 Local End to End.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_1 Local End to End.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_1 Local End to End.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Image Classification/Coast/Service End to End.ipynb\n", | |
" Error executing the notebook \"Service End to End.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_Service End to End.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Service End to End.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Service End to End.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Image Classification/Coast/Setup.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Setup.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Setup.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Image Classification/Flower/Service End to End.ipynb\n", | |
" output file already exists: nbconvert_output_notebook4.4.1/executed_Service End to End.ipynb\n", | |
" output file already exists: nbconvert_output_notebook4.4.1/executed_Service End to End.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/0 Readme and Setup.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_0 Readme and Setup.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_0 Readme and Setup.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/1 Local End to End.ipynb\n", | |
" output file already exists: nbconvert_output_notebook4.4.1/executed_1 Local End to End.ipynb\n", | |
" output file already exists: nbconvert_output_notebook4.4.1/executed_1 Local End to End.ipynb\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/2 Service Preprocess.ipynb\n", | |
" Error executing the notebook \"2 Service Preprocess.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_2 Service Preprocess.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_2 Service Preprocess.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_2 Service Preprocess.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/3 Service Train.ipynb\n", | |
" Error executing the notebook \"3 Service Train.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_3 Service Train.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_3 Service Train.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_3 Service Train.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/4 Service Evaluate.ipynb\n", | |
" Error executing the notebook \"4 Service Evaluate.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_4 Service Evaluate.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_4 Service Evaluate.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_4 Service Evaluate.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/5 Service Predict.ipynb\n", | |
" Error executing the notebook \"5 Service Predict.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_5 Service Predict.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_5 Service Predict.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_5 Service Predict.html\n", | |
"processing: /content/datalab/docs/samples/ML Toolbox/Regression/Census/6 Cleanup.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_6 Cleanup.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_6 Cleanup.html\n", | |
"processing: /content/datalab/docs/samples/TensorFlow/Machine Learning with Financial Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Machine Learning with Financial Data.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Machine Learning with Financial Data.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery APIs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_BigQuery APIs.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_BigQuery APIs.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery Commands.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_BigQuery Commands.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_BigQuery Commands.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery Magic Commands and DML.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_BigQuery Magic Commands and DML.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_BigQuery Magic Commands and DML.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/BigQuery Parameterization.ipynb\n", | |
" Runtime Error for the notebook \"BigQuery Parameterization.ipynb\".\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_BigQuery Parameterization.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_BigQuery Parameterization.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/Hello BigQuery.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Hello BigQuery.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Hello BigQuery.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/Importing and Exporting Data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Importing and Exporting Data.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Importing and Exporting Data.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/SQL and Pandas DataFrames.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_SQL and Pandas DataFrames.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_SQL and Pandas DataFrames.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/SQL Query Composition.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_SQL Query Composition.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_SQL Query Composition.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/UDF Testing in the Notebook.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_UDF Testing in the Notebook.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_UDF Testing in the Notebook.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/UDFs in BigQuery.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_UDFs in BigQuery.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_UDFs in BigQuery.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/UDFs using Code in Cloud Storage.ipynb\n", | |
" Error executing the notebook \"UDFs using Code in Cloud Storage.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_UDFs using Code in Cloud Storage.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_UDFs using Code in Cloud Storage.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_UDFs using Code in Cloud Storage.html\n", | |
"processing: /content/datalab/docs/tutorials/BigQuery/Using External Tables from BigQuery.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Using External Tables from BigQuery.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Using External Tables from BigQuery.html\n", | |
"processing: /content/datalab/docs/tutorials/Data/Interactive Charts with Google Charting APIs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Interactive Charts with Google Charting APIs.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Interactive Charts with Google Charting APIs.html\n", | |
"processing: /content/datalab/docs/tutorials/Stackdriver Monitoring/Getting started.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Getting started.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Getting started.html\n", | |
"processing: /content/datalab/docs/tutorials/Stackdriver Monitoring/Group metrics.ipynb\n", | |
" Error executing the notebook \"Group metrics.ipynb\".\n", | |
" See notebook \"nbconvert_output_notebook4.4.1/executed_Group metrics.ipynb\" for the traceback.\n", | |
"\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Group metrics.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Group metrics.html\n", | |
"processing: /content/datalab/docs/tutorials/Stackdriver Monitoring/Time-shifted data.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Time-shifted data.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Time-shifted data.html\n", | |
"processing: /content/datalab/docs/tutorials/Storage/Storage APIs.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Storage APIs.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Storage APIs.html\n", | |
"processing: /content/datalab/docs/tutorials/Storage/Storage Commands.ipynb\n", | |
" created output file: nbconvert_output_notebook4.4.1/executed_Storage Commands.ipynb\n", | |
"wrote nbconvert_output_notebook4.4.1/executed_Storage Commands.html" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true, | |
"deletable": true, | |
"editable": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 2", | |
"language": "python", | |
"name": "python2" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 2 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython2", | |
"version": "2.7.9" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment