Work With Python on Dataiku Online

Dataiku Online allows you to work extensively with Python. To do so you can:

  • use one of the two Python environments, Data Science and Dash, which are available by default;

  • create a custom one and choose the packages to include.

Note

You have to be space-admin to create or manage your Python environments.

How to Create a Python Environment

  • First, navigate to the Launchpad to get started, and open the Python environments tab.

../../_images/add-a-code-env.png

  • Click on the button Add a code environment.

  • Choose the version of Python, and enter the packages required (one package per line). Include specific versions where possible to ensure the stability of the code environment. You can later add packages to existing code environments if needed.

../../_images/python1.png

Packages to Install

To be available, a package must be publicly available on pip. Installation through wheel files is not possible.

Note

Some Python packages may require additional system dependencies. Dataiku Online doesn’t support these dependencies. Please contact support for more information.

How to Manage your Python Environments

You can access your Python environments in the Python Environments tab of your Launchpad. Then, you can access the details of the Data Science and Dash environments or edit your custom ones by clicking to the three points icon next to each package.

The Project Deployer manages the deployment of Python Environments on the Automation node. The ones required for a project will be created during the bundle creation. For more information, see the product documentation on how to deploy bundles with the Project Deployer.