def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def dframe(cls, dataset, dimensions):
        if dimensions:
            return dataset.data[dimensions].to_pandas()
        else:
            return dataset.data.to_pandas()