Notebook code snippets
Written by
Updated at May 25, 2023
The notebook contains code snippets for simple operations. Use them to extract files from a ZIP archive, to create a dataset, or to connect to file storage. The snippet library is subject to updates, so an up-to-date snippet list is available in the IDE.
Getting started
Open the DataSphere project:
-
Select the relevant project in your community or on the DataSphere homepage
in the Recent projects tab. - Click Open project in JupyterLab and wait for the loading to complete.
- Open the notebook tab.
Running a snippet
- In Snippets, select the snippet that you want to run. The code will be added to a new notebook cell.
- Edit the appropriate parameters, such as file paths, names, logins, and passwords. To store private information, use secrets.
- If a snippet contains additional instructions, run them as well.
- Run the cell. To do this, click
. - The result will be displayed under the cell.