Skip to content

Commit 7a14a5b

Browse files
authored
Update how-to-access-data-interactive.md
1 parent 02c6582 commit 7a14a5b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/machine-learning/how-to-access-data-interactive.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ df.head()
8888
> 1. Find the file/folder you want to read into pandas, select the elipsis (**...**) next to it. Select from the menu **Copy URI**. You can select the **Datastore URI** to copy into your notebook/script.
8989
> :::image type="content" source="media/how-to-access-data-ci/datastore_uri_copy.png" alt-text="Screenshot highlighting the copy of the datastore URI.":::
9090
91-
You can also instantiate an Azure Machine Learning filesystem and do filesystem-like commands like `ls`, `glob`, `exists`, `open`, etc. The `open()` method will return a file-like object, which can be passed to any other library that expects to work with python files, or used by your own code as you would a normal python file object. These file-like objects respect the use of `with` contexts, for example:
91+
You can also instantiate an Azure Machine Learning filesystem and do filesystem-like commands like `ls`, `glob`, `exists`, `open`.
92+
- The `ls()` method can be used to list files in the corresponding directory. You can use ls(), ls(.), ls (<<folder_level_1>/<folder_level_2>) to list files. We support both '.' and '..' in relative paths.
93+
- The `glob()` method supports '*' and '**' globbing.
94+
- The `exists()` method returns a Boolean value that indicates whether a specified file exists in current root directory.
95+
- The `open()` method will return a file-like object, which can be passed to any other library that expects to work with python files, or used by your own code as you would a normal python file object. These file-like objects respect the use of `with` contexts, for example:
9296

9397
```python
9498
from azureml.fsspec import AzureMachineLearningFileSystem

0 commit comments

Comments
 (0)