morpheus.utils.nvt.schema_converters

Functions

create_and_attach_nvt_workflow(input_schema) Converts an input_schema to a nvt.Workflow object.

Classes

JSONFlattenInfo(name, dtype, ...) Subclass of ColumnInfo.
create_and_attach_nvt_workflow(input_schema, visualize=False)[source]

Converts an input_schema to a nvt.Workflow object.

Parameters
input_schema

Input schema which specifies how the DataFrame should be processed.

visualize

If True, the resulting workflow graph will be visualized. Default is False.

Returns
nvt.Workflow

A nvt.Workflow object representing the steps specified in the input schema.

Raises
ValueError

If the input schema is empty.

Notes

First we aggregate all preprocessing steps, which we assume are independent of each other and can be run in parallel.

Next we aggregate all column operations, which we assume are independent of each other and can be run in parallel and pass them the updated schema from the preprocessing steps.

Previous morpheus.utils.nvt.patches.merlin_patches
Next morpheus.utils.nvt.schema_converters.JSONFlattenInfo
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.