filter_tidy_raw()

Filter an SDMX DataFrame by removing rows that violate codelist constraints.

Usage

Source

filter_tidy_raw(
    df,
    schema,
)

Parameters

df: pd.DataFrame

The input DataFrame.

schema: px.model.dataflow.Schema
The SDMX schema to validate against.

Returns

pd.DataFrame
A filtered DataFrame with invalid code rows removed.