Skip to main content
Skip table of contents

Python Execute Pickle Table

Basic Information

Description

This node is used to execute python pickle on a process table

Input

One process table and one python pickle

Output

One table

Usage Tags

PYTHON , TRANSFORMATION , PICKLE


Node Settings

  • Input Table ( string, required) : Name of a process input table.

  • Pickle (string, required) : Name of pickle object that will be used.

  • Function (string, required) : Name of pickle function that will be used.

  • Output Table (string, required) : Name of output table that will be generated.

This node can only be used on a pickle objects and functions that takes single pandas DataFrame as input and returns again single pandas DataFrame.


Tips and Advanced usage

Similar functionality can be used with Python Script Node, but pickle objects allows for more complex use cases, where an entire trained model can be encoded as a pickel object and prediction function can be used afterwards.


Examples

Example 1

Performs dummy_predict function from dummy_model_pickle pickle on a process table table and stores results into predicted table

Example configuration
JSON
{
  "InputTable": "table",
  "PickleName": "dummy_model_pickle",
  "Function": "dummy_predict",
  "OutputTable": "predicted"
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.