Skip to content

Tpandas

flowtask.components.tPandas

tPandas

tPandas(loop=None, job=None, stat=None, **kwargs)

Bases: FlowComponent

tPandas

Overview

    The tPandas class is an abstract interface for performing various data transformations on Pandas DataFrames.
    It provides foundational methods and structure for components that need to apply transformations, merges, or other
    DataFrame operations within a task.

    This interface provides methods to initialize, transform, and debug Pandas DataFrame operations.
    Concrete implementations using `tPandas` can define specific transformations. On execution, metrics
    for rows and columns are recorded, and any transformation errors or data mismatches are raised as exceptions
    with detailed error messages for effective debugging.