woodwork.accessor_utils.
get_invalid_schema_message
Return a message indicating the reason that the provided schema cannot be used to initialize Woodwork on the dataframe. If the schema is valid for the dataframe, None will be returned.
dataframe (DataFrame) – The dataframe against which to check the schema.
schema (ww.TableSchema) – The schema to use in the validity check.
The reason that the schema is invalid for the dataframe
str or None