compare_variables: Compare Variables of Two Datasets
Description
Compares the structural attributes of two datasets including column names,
data types, and variable ordering. Identifies common columns and reports columns
that exist in only one dataset.
Usage
compare_variables(df1, df2)
Value
A list containing variable comparison details and discrepancy count.