Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Service page
Yandex DataSphere
Documentation
Yandex DataSphere
  • Getting started
    • All guides
      • Connecting to JupyterLab from a local IDE
      • Selecting computing resources
      • Checking GPU load
      • Getting a notebook ID
      • Installing packages
      • Notebook code snippets
      • Clearing notebook cell outputs
      • Working with Git
      • Setting up template-based notebook creation
    • Migrating a workflow to a new version
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • Getting started
  • Running a snippet
  1. Step-by-step guides
  2. DataSphere Notebook
  3. Notebook code snippets

Notebook code snippets

Written by
Yandex Cloud
Updated at August 15, 2025
  • Getting started
  • Running a snippet

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 startedGetting started

Open the DataSphere project:

  1. Select the project in your community or on the DataSphere home page in the Recent projects tab.

  2. Click Open project in JupyterLab and wait for the loading to complete.
  3. Open the notebook tab.

Running a snippetRunning a snippet

  1. In the top menu, click Snippets and select the snippet you want to run. This will add the code to a new notebook cell.
  2. Edit the parameters, such as file paths, names, usernames, and passwords as appropriate. For private information, use secrets.
  3. If a snippet contains additional instructions, run them as well.
  4. Run the cell. To do this, click .
  5. The code execution result will appear below the cell.

See alsoSee also

  • Connecting to Yandex Disk
  • Connecting to Google Drive
  • Working with Git

Was the article helpful?

Previous
Installing packages
Next
Clearing notebook cell outputs
© 2025 Direct Cursus Technology L.L.C.