compare_datasets function

Compare data sets