azure-machine-learning-studio

Access Azure blog storage from within an Azure ML experiment

Deadly 提交于 2019-11-27 08:25:05
Azure ML Experiments provide ways to read and write CSV files to Azure blob storage through the Reader and Writer modules. However, I need to write a JSON file to blob storage. Since there is no module to do so, I'm trying to do so from within an Execute Python Script module. # Import the necessary items from azure.storage.blob import BlobService def azureml_main(dataframe1 = None, dataframe2 = None): account_name = 'mystorageaccount' account_key='mykeyhere==' json_string='{jsonstring here}' blob_service = BlobService(account_name, account_key) blob_service.put_block_blob_from_text("upload",

Updating pandas to version 0.19 in Azure ML Studio

纵饮孤独 提交于 2019-11-27 06:26:47
问题 I would really like to get access to some of the updated functions in pandas 0.19, but Azure ML studio uses pandas 0.18 as part of the Anaconda 4.0 bundle. Is there a way to update the version that is used within the "Execute Python Script" components? 回答1: I offer the below steps for you to show how to update the version of pandas library in Execute Python Script . Step 1 : Use the virtualenv component to create an independent python runtime environment in your system.Please install it first

Access Azure blog storage from within an Azure ML experiment

醉酒当歌 提交于 2019-11-26 14:08:31
问题 Azure ML Experiments provide ways to read and write CSV files to Azure blob storage through the Reader and Writer modules. However, I need to write a JSON file to blob storage. Since there is no module to do so, I'm trying to do so from within an Execute Python Script module. # Import the necessary items from azure.storage.blob import BlobService def azureml_main(dataframe1 = None, dataframe2 = None): account_name = 'mystorageaccount' account_key='mykeyhere==' json_string='{jsonstring here}'