forked from readyforchaos/Pandas-transform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename ConnectToAzureStorageBlob (1).ipynb to ConnectToAzureStorageBl…
…ob.ipynb
- Loading branch information
1 parent
040349b
commit 78946cb
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
ConnectToAzureStorageBlob (1).ipynb → ConnectToAzureStorageBlob.ipynb
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
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"}}}} |