Skip to content

Commit 83ab518

Browse files
Merge pull request #116227 from mikkeyboi/main
Update how-to-mltable.md Amended notes and corrected mltable.save arguments
2 parents 01e7e2b + 444845f commit 83ab518

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

articles/machine-learning/how-to-mltable.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ You can choose to save the MLTable yaml file to a cloud storage, or you can also
209209
```python
210210
# save the data loading steps in an MLTable file to a cloud storage
211211
# NOTE: the tbl object was defined in the previous snippet.
212-
tbl.save(save_path_dirc= "azureml://subscriptions/<subid>/resourcegroups/<rgname>/workspaces/<wsname>/datastores/<name>/paths/titanic", collocated=True, show_progress=True, allow_copy_errors=False, overwrite=True)
212+
tbl.save(path="azureml://subscriptions/<subid>/resourcegroups/<rgname>/workspaces/<wsname>/datastores/<name>/paths/titanic", colocated=True, show_progress=True, overwrite=True)
213213
```
214214

215215
```python
@@ -219,10 +219,9 @@ tbl.save("./titanic")
219219
```
220220

221221
> [!IMPORTANT]
222-
> - If collocated == True, then we will copy the data to the same folder with MLTable yaml file if they are not currently collocated, and we will use relative paths in MLTable yaml.
223-
> - If collocated == False, we will not move the data and we will use absolute paths for cloud data and use relative paths for local data.
224-
> - We don’t support this parameter combination: data is in local, collocated == False, `save_path_dirc` is a cloud directory. Please upload your local data to cloud and use the cloud data paths for MLTable instead.
225-
> - Parameters `show_progress` (default as True), `allow_copy_errors` (default as False), `overwrite`(default as True) are optional.
222+
> - If colocated == True, then we will copy the data to the same folder with MLTable yaml file if they are not currently colocated, and we will use relative paths in MLTable yaml.
223+
> - If colocated == False, we will not move the data and we will use absolute paths for cloud data and use relative paths for local data.
224+
> - We don’t support this parameter combination: data is in local, colocated == False, `path` targets a cloud directory. Please upload your local data to cloud and use the cloud data paths for MLTable instead.
226225
>
227226
228227

0 commit comments

Comments
 (0)