Posted by: Pdfprep
Post Date: March 13, 2021
HOTSPOT
A coworker registers a datastore in a Machine Learning services workspace by using the following code:
You need to write code to access the datastore from a notebook.
Answer: Explanation:
Box 1: DataStore
To get a specific datastore registered in the current workspace, use the get () static method on the Datastore class:
# Get a named datastore from the current workspace
datastore = Datastore.get(ws, datastore_name=’your datastore name’)
Box 2: ws
Box 3: demo_datastore
Leave a Reply