def showAll(self):
		self.conn.commit()
		cur = self.conn.cursor()
		cur.execute("SELECT * FROM Domains")
		print cur.fetchall()
		cur.execute("SELECT * FROM Websites")
		print cur.fetchall()
def sort(cls, dataset, by=[], reverse=False):
        cols = [dataset.get_dimension(d, strict=True).name for d in by]
        return dataset.data.sort_values(by=cols, ascending=not reverse)