morpheus.utils.column_info.DataFrameInputSchema

class DataFrameInputSchema(json_columns=<factory>, column_info=<factory>, preserve_columns=<factory>, row_filter=None)[source]

Bases: object

Defines the schema specifying the columns to be included in the output DataFrame.

Attributes
json_columnsList[str]

The columns to include in the output DataFrame.

column_infoList[ColumnInfo]

Information about the columns.

preserve_columnsList[str]

The columns to preserve.

row_filterCallable[[pandas.DataFrame], pandas.DataFrame]

A function to filter the rows of the DataFrame.

Methods

__post_init__() Compile the preserve_columns into a regular expression.
Previous morpheus.utils.column_info.CustomColumn
Next morpheus.utils.column_info.DateTimeColumn
© Copyright 2023, NVIDIA. Last updated on Feb 2, 2024.