You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/spark/apache-spark-development-using-notebooks.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ description: In this article, you learn how to create and develop Synapse notebo
4
4
services: synapse analytics
5
5
author: JeneZhang
6
6
ms.service: azure-synapse-analytics
7
-
ms.topic: conceptual
7
+
ms.topic: how-to
8
8
ms.subservice: spark
9
-
ms.date: 05/08/2021
9
+
ms.date: 09/11/2024
10
10
ms.author: jingzh
11
11
ms.custom: devx-track-python
12
12
---
@@ -26,7 +26,7 @@ This article describes how to use notebooks in Synapse Studio.
26
26
27
27
## Create a notebook
28
28
29
-
You can create a new notebook or import an existing notebook to a Synapse workspace from **Object Explorer**. Select **Develop**, right-click **Notebooks**, and then select **New notebook** or **Import**. Synapse notebooks recognize standard Jupyter Notebook IPYNB files.
29
+
You can create a new notebook or import an existing notebook to a Synapse workspace from **Object Explorer**. Select the **Develop** menu. Select the **+** button and select **Notebook** or right-click **Notebooks**, and then select **New notebook** or **Import**. Synapse notebooks recognize standard Jupyter Notebook IPYNB files.
30
30
31
31

32
32
@@ -188,7 +188,7 @@ To move a cell, select the left side of the cell and drag the cell to the desire
188
188
189
189
### <aname = "move-a-cell"></a>Copy a cell
190
190
191
-
To copy a cell, create a new cell, select all the text in your original cell, copy the text, and paste the text into the new cell. When your cell is in edit mode, traditional keyboard shortcuts to select all text are limited to the cell.
191
+
To copy a cell, first create a new cell, then select all the text in your original cell, copy the text, and paste the text into the new cell. When your cell is in edit mode, traditional keyboard shortcuts to select all text are limited to the cell.
192
192
193
193
>[!TIP]
194
194
>Synapse notebooks also provide [snippits](#code-snippets) of commonly used code patterns.
@@ -269,7 +269,7 @@ The `%run` magic command has these limitations:
269
269
* The command supports nested calls but not recursive calls.
270
270
* The command supports passing an absolute path or notebook name only as a parameter. It doesn't support relative paths.
271
271
* The command currently supports only four parameter value types: `int`, `float`, `bool`, and `string`. It doesn't support variable replacement operations.
272
-
* The referenced notebooks must be published. You need to publish the notebooks to reference them, unless you select the [option to enable an unpublished notebook reference](#reference-unpublished-notebook). Synapse Studio does not recognize the unpublished notebooks from the Git repo.
272
+
* The referenced notebooks must be published. You need to publish the notebooks to reference them, unless you select the [option to enable an unpublished notebook reference](#reference-unpublished-notebook). Synapse Studio doesn't recognize the unpublished notebooks from the Git repo.
273
273
* Referenced notebooks don't support statement depths larger than five.
274
274
275
275
### Use the variable explorer
@@ -299,7 +299,7 @@ The number of tasks for each job or stage helps you identify the parallel level
299
299
300
300
### <aname = "spark-session-configuration"></a>Configure a Spark session
301
301
302
-
On the **Configure session** pane, you can specify the timeout duration, the number of executors, and the size of executors to give to the current Spark session. Restart the Spark session for configuration changes to take effect. All cached notebook variables are cleared.
302
+
On the **Configure session** pane, which you can find by selecting the gear icon at the top of the notebook, you can specify the timeout duration, the number of executors, and the size of executors to give to the current Spark session. Restart the Spark session for configuration changes to take effect. All cached notebook variables are cleared.
303
303
304
304
You can also create a configuration from the Apache Spark configuration or select an existing configuration. For details, refer to [Manage Apache Spark configuration](../../synapse-analytics/spark/apache-spark-azure-create-spark-configuration.md).
0 commit comments