Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit e2811e0

Browse files
committed
address pr comment
1 parent 66237d5 commit e2811e0

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

docs/azure-data-studio/notebooks/notebooks-parameterization.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The steps in this section all run within an Azure Data Studio notebook.
4848
!{sys.executable} -m pip list
4949
```
5050

51-
![List](media/notebooks-parameterization/install-list-papermill.png)
51+
:::image type="content" source="media/notebooks-parameterization/install-list-papermill.png" alt-text="List":::
5252

5353
5. You can test if papermill is loaded properly by checking the version of papermill.
5454

@@ -57,9 +57,9 @@ The steps in this section all run within an Azure Data Studio notebook.
5757
papermill
5858
```
5959

60-
![Validation](media/notebooks-parameterization/install-validation-papermill.png)
60+
:::image type="content" source="media/notebooks-parameterization/install-validation-papermill.png" alt-text="Validation":::
6161

62-
## Set up a Parameterized Notebook
62+
## Set up a parameterized notebook
6363

6464
1. Verify the **Kernel** is set to *Python3*.
6565

@@ -72,7 +72,7 @@ The steps in this section all run within an Azure Data Studio notebook.
7272
y = 5.0
7373
```
7474

75-
![Parameter Cell Notebook](media/notebooks-parameterization/make-parameter-cell.png)
75+
:::image type="content" source="media/notebooks-parameterization/make-parameter-cell.png" alt-text="Parameter Cell Notebook":::
7676

7777
3. Add other cells to test different parameters.
7878

@@ -87,19 +87,19 @@ The steps in this section all run within an Azure Data Studio notebook.
8787
```
8888

8989
Cells in Example Input Notebook:
90-
![Additional Input Notebook Cells](media/notebooks-parameterization/test-cells.png)
90+
:::image type="content" source="media/notebooks-parameterization/test-cells.png" alt-text="Additional Input Notebook Cells":::
9191

9292
4. Save notebook as **Input.ipynb**.
93-
![Save Notebook](media/notebooks-parameterization/save-notebook.png)
93+
:::image type="content" source="media/notebooks-parameterization/save-notebook.png" alt-text="Save Notebook":::
9494

95-
## How to Execute Papermill Notebook
95+
## How to execute Papermill notebook
9696

9797
Papermill can be executed two ways:
9898

99-
1. Command Line Interface (CLI)
100-
2. Python API
99+
- Command Line Interface (CLI)
100+
- Python API
101101

102-
### Parameterized CLI Execution
102+
### Parameterized CLI execution
103103

104104
To execute a notebook using the CLI, enter the papermill command in the terminal with the input notebook, location for output notebook, and options.
105105

@@ -117,9 +117,9 @@ To execute a notebook using the CLI, enter the papermill command in the terminal
117117
2. After Execution view new Output Parameterized Notebook.
118118
You can note that there's a new cell labeled **# Injected-Parameters** containing the new parameter values passed in via CLI.
119119

120-
![Output Notebook](media/notebooks-parameterization/output-notebook.png)
120+
:::image type="content" source="media/notebooks-parameterization/output-notebook.png" alt-text="Output Notebook":::
121121

122-
### Parameterize Python API Execution
122+
### Parameterized Python API execution
123123

124124
> [!Note]
125125
> Papermill Python API Documentation can be found [here](https://papermill.readthedocs.io/en/latest/usage-execute.html#execute-via-the-python-api).
@@ -145,7 +145,7 @@ To execute a notebook using the CLI, enter the papermill command in the terminal
145145

146146
You can note that there's a new cell labeled **# Injected-Parameters** containing the new parameter values passed in via CLI.
147147

148-
![Output Notebook](media/notebooks-parameterization/output-notebook.png)
148+
:::image type="content" source="media/notebooks-parameterization/output-notebook.png" alt-text="Output Notebook":::
149149

150150
## Next steps
151151

0 commit comments

Comments
 (0)