From 4c98c947fb8dea852cac56ced09fbdcbcb0a8dc4 Mon Sep 17 00:00:00 2001 From: llllllllll Date: Mon, 5 Oct 2015 18:11:34 -0400 Subject: [PATCH] ENH: Adds repr for datasets --- zipline/pipeline/data/dataset.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zipline/pipeline/data/dataset.py b/zipline/pipeline/data/dataset.py index 85aabb0c..7070ac8c 100644 --- a/zipline/pipeline/data/dataset.py +++ b/zipline/pipeline/data/dataset.py @@ -115,6 +115,9 @@ class DataSetMeta(type): def __lt__(self, other): return id(self) < id(other) + def __repr__(self): + return '' % self.__name__ + class DataSet(with_metaclass(DataSetMeta)): domain = None