from azure.storage.blob import BlobService

def azureml_main(dataframe1=None, dataframe2=None):
    account_name = 'mystorageaccount'
account_key = 'p8kSy3FACx...redacted...ebz3plQ=='
container_name = 'upload'
json_output_file_name = 'testfromml.json'
json_orient = 'records'
json_force_ascii = False
blob_service = BlobService(account_name, account_key, protocol='http')
blob_service.put_block_blob_from_text(container_name, json_output_file_name,
    dataframe1.to_json(orient=json_orient, force_ascii=json_force_ascii))
return dataframe1,
Доступ к хранилищу блогов Azure из эксперимента Azure ML.