morpheus.utils.nvt.schema_converters.JSONFlattenInfo
- class JSONFlattenInfo(name, dtype, input_col_names, output_col_names)[source]
Bases:
morpheus.utils.column_info.ColumnInfo
Subclass of
ColumnInfo
. Makes it easier to generate a graph of the column dependencies.- Attributes
- input_col_names
- output_col_names
List of input column names.
List of output column names.
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
.