Enable Python plugin

The Python plugin runs a user-defined function (UDF) using a Python script. The Python script gets tabular data as its input, and produces tabular output. For more information on the Python plugin, see Python plugin.

Important

Enabling the Python plugin consumes more compute resources and may increase cost.

Prerequisite

Enable the plugin

The plugin is disabled by default.

  1. To enable the plugin, browse to your KQL database.

  2. Select Manage > Plugins.

  3. Enable the Python language extension by toggling the button to On, then select Done.

    Warning

    Enabling plugins requires a refresh of the cached data in SSD (disk), which can take up to 1 hour. Enabling a language extension allocated 20 GB of SSD per instance.

    Screenshot of the plugins pane showing the Python language extension. The toggle button is highlighted.