Installing dependencies
Popular packages for data analysis and machine learning are pre-installed and ready for use. You can find a list of these packages here.
To install missing packages, use pip.
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.
Installing a package
To install a package:
-
Enter the following command in a notebook cell:
%pip install <package_name>For example, install the seaborn
package to visualize statistics:%pip install seabornYou can use various options the pip install
command supports. For examples of using this command, follow this link . -
Run the cell. To do this, click
.The package installation result will show up under the cell.
Note
To refresh 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.