Checks if two datasets are compatible for comparison by verifying their dimensions, column names, and data types. Returns a list indicating whether the datasets are compatible and detailing any structural differences.
check_compatibility(df1, df2)A list containing details about the compatibility of the datasets, including information on dimension equality and common columns.
The first data frame to be compared.
The second data frame to be compared.