def METHOD_NAME(self):
    df = pd.DataFrame({'y': [1, 2, 3], 'x': [0, 0, 1]}, index=[0, 1, 2])
    scatters = Dataset(df).to(Scatter, 'index', 'y')
    hmap = HoloMap({0: Scatter(([0, 1], [1, 2]), 'index', 'y'),
                    1: Scatter([(2, 3)], 'index', 'y')}, 'x')
    self.assertEqual(scatters, hmap)