noctis.data_transformation.preprocessing.data_preprocessing.DataFramePreprocessor¶
- class noctis.data_transformation.preprocessing.data_preprocessing.DataFramePreprocessor(schema: GraphSchema, config: PreprocessorConfig)[source]¶
Preprocessor for handling pandas DataFrames, extracting nodes and relationships based on a predefined schema and configuration.
- Inherits from:
PandasRowPreprocessorBase PythonObjectPreprocessorInterface
- __init__(schema: GraphSchema, config: PreprocessorConfig)¶
Initialize the preprocessor with a graph schema and configuration.
- Args:
schema (GraphSchema): The schema defining the nodes and relationships. config (PreprocessorConfig): Configuration settings for preprocessing.
Methods
__init__(schema, config)Initialize the preprocessor with a graph schema and configuration.
run(df)Process the DataFrame to extract nodes and relationships.
Attributes
failed_strings