Skip to content

Commit d2ee092

Browse files
committed
changed code
1 parent 75c3e39 commit d2ee092

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/machine-learning/tutorial-explore-data.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,11 @@ import pandas as pd
184184
subscription_id = ml_client.subscription_id
185185
resource_group = ml_client.resource_group_name
186186
workspace_name = ml_client.workspace_name
187+
datastore_name = 'workspaceblobstore' #this is the default datastore
188+
path_on_datastore = my_path
187189
188190
# Construct the datastore URI
189-
datastore_uri = f"azureml://subscriptions/{subscription_id}/resourcegroups/{resource_group}/workspaces/{workspace_name}/datastores/<datastore_name>/paths/<folder>/<filename>.csv"
191+
datastore_uri = f"azureml://subscriptions/{subscription_id}/resourcegroups/{resource_group}/workspaces/{workspace_name}/datastores/{datastore_name}/paths/{path_on_datastore}"
190192
df = pd.read_csv(datastore_uri)
191193
```
192194

0 commit comments

Comments
 (0)