Installing dependencies
Popular packages for data analysis and machine learning are pre-installed and ready for use, see the list.
You can install missing packages using the pip package manager.
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.
Install a package
To install a package:
-
Write the following command in the notebook cell:
%pip install <package_name>
For example, install the seaborn
package to visualize statistics:%pip install seaborn
You can use various options that the pip install
command supports. See usage examples for this command. -
Run the cell. To do this, click
.The package installation result is displayed under the cell.
Note
To update the list of installed packages, restart the kernel. To do this, click Kernel → Restart Kernel in the top panel of the project window.
If you encounter problems when installing dependencies, use the recommendations provided in Solving problems with dependencies in Yandex DataSphere.