Skip to content

Commit

Permalink
Rename ConnectToAzureStorageBlob (1).ipynb to ConnectToAzureStorageBl…
Browse files Browse the repository at this point in the history
…ob.ipynb
  • Loading branch information
readyforchaos authored Jan 30, 2017
1 parent 040349b commit 78946cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"nbformat_minor": 2, "cells": [{"execution_count": 4, "cell_type": "code", "source": "from azure.storage.blob import BlockBlobService\nfrom azure.storage.blob import ContentSettings", "outputs": [], "metadata": {"collapsed": true}}, {"execution_count": null, "cell_type": "code", "source": "container_name = 'foldername'\ninput_filename = 'dataset.csv'\noutput_filename = 'dataset_cleaned.csv'\n\nSTORAGEACCOUNTNAME=\"\"\nSTORAGEACCOUNTKEY=\"\"\nblock_blob_service = BlockBlobService(account_name=STORAGEACCOUNTNAME, account_key=STORAGEACCOUNTKEY)\n\n#Download blob to local file on \"vm\"\nblock_blob_service.get_blob_to_path(container_name, input_filename, input_filename)", "outputs": [], "metadata": {"collapsed": true}}, {"execution_count": 11, "cell_type": "code", "source": "#You can now play with pandas and do transforms\nimport pandas as pd", "outputs": [], "metadata": {"collapsed": true}}, {"execution_count": null, "cell_type": "code", "source": "df = pd.read_csv(input_filename)\ndf", "outputs": [], "metadata": {"collapsed": true}}], "nbformat": 4, "metadata": {"kernelspec": {"display_name": "Python 3", "name": "python3", "language": "python"}, "language_info": {"mimetype": "text/x-python", "nbconvert_exporter": "python", "version": "3.5.1", "name": "python", "file_extension": ".py", "pygments_lexer": "ipython3", "codemirror_mode": {"version": 3, "name": "ipython"}}}}
{"nbformat_minor": 2, "cells": [{"execution_count": 4, "cell_type": "code", "source": "from azure.storage.blob import BlockBlobService\nfrom azure.storage.blob import ContentSettings", "outputs": [], "metadata": {"collapsed": true}}, {"execution_count": null, "cell_type": "code", "source": "container_name = 'foldername'\ninput_filename = 'dataset.csv'\noutput_filename = 'dataset_cleaned.csv'\n\nSTORAGEACCOUNTNAME=\"\"\nSTORAGEACCOUNTKEY=\"\"\nblock_blob_service = BlockBlobService(account_name=STORAGEACCOUNTNAME, account_key=STORAGEACCOUNTKEY)\n\n#Download blob to local file on \"vm\"\nblock_blob_service.get_blob_to_path(container_name, input_filename, input_filename)", "outputs": [], "metadata": {"collapsed": true}}, {"execution_count": 11, "cell_type": "code", "source": "#You can now play with pandas and do transforms\nimport pandas as pd", "outputs": [], "metadata": {"collapsed": true}}, {"execution_count": null, "cell_type": "code", "source": "df = pd.read_csv(input_filename)\ndf", "outputs": [], "metadata": {"collapsed": true}}], "nbformat": 4, "metadata": {"kernelspec": {"display_name": "Python 3", "name": "python3", "language": "python"}, "language_info": {"mimetype": "text/x-python", "nbconvert_exporter": "python", "version": "3.5.1", "name": "python", "file_extension": ".py", "pygments_lexer": "ipython3", "codemirror_mode": {"version": 3, "name": "ipython"}}}}

0 comments on commit 78946cb

Please sign in to comment.