woodwork.accessor_utils.is_schema_valid#

woodwork.accessor_utils.is_schema_valid(dataframe, schema)[source]#

Check if a schema is valid for initializing Woodwork on a dataframe

Parameters:
  • dataframe (DataFrame) – The dataframe against which to check the schema.

  • schema (ww.TableSchema) – The schema to use in the validity check.

Returns:

Boolean indicating whether the schema is valid for the dataframe

Return type:

boolean