def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def dframe(cls, dataset, dimensions):
        if dimensions:
            return dataset.data[dimensions].to_pandas()
        else:
            return dataset.data.to_pandas()