'Helper function for table comparison'

def _compare_tables(self, _output, n_components):

    self.assertEqual((len(self.iris), n_components), _output.X.shape)
    np.testing.assert_array_equal(self.iris.Y, _output.Y)
    np.testing.assert_array_equal(self.iris.metas, _output.metas)
