Skip to content

Commit 5e3fce3

Browse files
authored
Update how-to-create-register-datasets.md
update
1 parent 6c21eac commit 5e3fce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/machine-learning/service/how-to-create-register-datasets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ from azureml.core import Dataset, Datastore
114114

115115
# create tabular dataset from a SQL database in datastore
116116
sql_datastore = Datastore.get(workspace, 'mssql')
117-
tabular = Dataset.Tabular.from_sql_query((sql_datastore, 'SELECT * FROM my_table'))
117+
sql_ds = Dataset.Tabular.from_sql_query((sql_datastore, 'SELECT * FROM my_table'))
118118
```
119119
Use the [`with_timestamp_columns()`](https://docs.microsoft.com/python/api/azureml-core/azureml.data.tabulardataset?view=azure-ml-py#with-timestamp-columns-fine-grain-timestamp--coarse-grain-timestamp-none--validate-false-) method on `TabularDataset` class to enable easy and efficient filtering by time. More examples and details can be found [here](http://aka.ms/azureml-tsd-notebook).
120120

0 commit comments

Comments
 (0)