Skip to content

Commit 0ef352a

Browse files
Merge pull request #260189 from meganbradley/docs-editor/dataset-oj-sales-simulated-1701715492
remove link to insecure domain
2 parents 1a24904 + 983e986 commit 0ef352a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

articles/open-datasets/dataset-oj-sales-simulated.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ View the original dataset description or download the dataset.
5151

5252
<!-- nbstart https://opendatasets-api.azure.com/discoveryapi/OpenDataset/DownloadNotebook?serviceType=AzureNotebooks&package=azureml-opendatasets&registryId=sample-oj-sales-simulated -->
5353

54-
> [!TIP]
55-
> **[Download the notebook instead](https://opendatasets-api.azure.com/discoveryapi/OpenDataset/DownloadNotebook?serviceType=AzureNotebooks&package=azureml-opendatasets&registryId=sample-oj-sales-simulated)**.
56-
5754
```python
5855
from azureml.core.workspace import Workspace
5956
ws = Workspace.from_config()
@@ -104,6 +101,7 @@ datastore.upload(src_dir = oj_sales_path,
104101
We need to define the path of the data to create the [FileDataset](/python/api/azureml-core/azureml.data.file_dataset.filedataset).
105102

106103

104+
107105
```python
108106
from azureml.core.dataset import Dataset
109107

@@ -117,13 +115,15 @@ input_ds = Dataset.File.from_files(path=path_on_datastore, validate=False)
117115
We want to register the dataset to our workspace so we can call it as an input into our Pipeline for forecasting.
118116

119117

118+
120119
```python
121120
registered_ds = input_ds.register(ws, ds_name, create_new_version=True)
122121
named_ds = registered_ds.as_named_input(ds_name)
123122
```
124123

125124
<!-- nbend -->
126125

126+
127127
---
128128

129129
### Azure Databricks
@@ -132,9 +132,6 @@ named_ds = registered_ds.as_named_input(ds_name)
132132

133133
<!-- nbstart https://opendatasets-api.azure.com/discoveryapi/OpenDataset/DownloadNotebook?serviceType=AzureDatabricks&package=azureml-opendatasets&registryId=sample-oj-sales-simulated -->
134134

135-
> [!TIP]
136-
> **[Download the notebook instead](https://opendatasets-api.azure.com/discoveryapi/OpenDataset/DownloadNotebook?serviceType=AzureDatabricks&package=azureml-opendatasets&registryId=sample-oj-sales-simulated)**.
137-
138135
```
139136
# This is a package in preview.
140137
# You need to pip install azureml-opendatasets in Databricks cluster. https://learn.microsoft.com/azure/data-explorer/connect-from-databricks#install-the-python-library-on-your-azure-databricks-cluster
@@ -200,6 +197,7 @@ if sys.platform == 'linux':
200197

201198
<!-- nbend -->
202199

200+
203201
---
204202

205203
## Next steps

0 commit comments

Comments
 (0)