Skip to content

Profiling

Inferring a spec from data you already have.

profile_dataframe

profile_dataframe

profile_dataframe(df: DataFrame, *, weights: bool = False, max_unique_enum: int = 50, calculate_bounds: bool = True) -> dict[str, ColSpec]

Infers ColSpec column definitions by profiling an existing DataFrame.