def _get_labels_left(self, validate=None):
Get all labels of the left dataframe.
return self._get_labels(1, validate=validate)
def _get_labels_right(self, validate=None):
Get all labels of the right dataframe.
After Change
for compare_func in self._compare_functions:
labels = labels + listify(compare_func.labels_left)
// check requested labels (for better error messages)
if not is_label_dataframe(labels, validate):
error_msg = "label is not found in the dataframe"