AML Studio - cannot create dataset from datastore file

Hannah Bavcic 1 Reputation point
2020-11-12T14:41:39.62+00:00

I am using Jupyter notebooks to work in AML. I was able to upload a file to a datastore (the default workspaceblobstore), but am receiving an error when I try to create a dataset using this file. The relevant code is below:

#This part works

datastore = ws.get_default_datastore()

datastore.upload_files(files = ['data/german_credit_dataset.csv'], overwrite = True, show_progress = True)

# This part doesn't

dataset = Dataset.Tabular.from_delimited_files(path = [(datastore ,'german_credit_dataset.csv')])

I know the file was uploaded correctly as I am able to locate it in the datastore, and manually create a dataset. The error I receive is:

code": "UserError",
"message": "Cannot load any data from the specified path. Make sure the path is accessible and contains data.\nScriptExecutionException was caused by DatastoreResolutionException.\r\n DatastoreResolutionException was caused by UnexpectedException.\r\n
Could it be a permissions issue? I used the json file to connect to my compute instance and it seems to work since I was able to upload the file.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,916 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.