NVIDIA Morpheus (24.06)
(Latest Version)

morpheus.utils.column_info.ColumnInfo

class ColumnInfo(name, dtype)[source]

Bases: object

Defines a single column and type-cast.

Methods

convert_pandas_dtype(dtype) Return the pandas type string of column.
get_input_column_types() Return a dictionary of input column names and types needed for processing.
get_pandas_dtype() Return the pandas type string for the currently set dtype.
static convert_pandas_dtype(dtype)[source]

Return the pandas type string of column.

get_input_column_types()[source]

Return a dictionary of input column names and types needed for processing. This is used for schema validation and should be overridden by subclasses.

get_pandas_dtype()[source]

Return the pandas type string for the currently set dtype.

Previous morpheus.utils.column_info.BoolColumn
Next morpheus.utils.column_info.CustomColumn
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.