Notebook code snippets
Written by
Updated at August 15, 2025
The notebook contains code snippets for simple operations. Use them to extract files from a ZIP archive, create a dataset, or connect to file storages. Since the snippet library is updated regularly, the latest list of code snippets is available in the IDE.
Getting started
Open the DataSphere project:
-
Select the project in your community or on the DataSphere home page
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 the top menu, click Snippets and select the snippet you want to run. This will add the code to a new notebook cell.
- Edit the parameters, such as file paths, names, usernames, and passwords as appropriate. For private information, use secrets.
- If a snippet contains additional instructions, run them as well.
- Run the cell. To do this, click
. - The code execution result will appear below the cell.