diff --git a/datascience/tables.py b/datascience/tables.py index 1aa6ca114..299f98249 100644 --- a/datascience/tables.py +++ b/datascience/tables.py @@ -170,8 +170,10 @@ def __init__(self, columns=None, labels=None, self.take = _Taker(self) # This, along with a snippet below, is necessary for Sphinx to - # correctly load the `take` docstring - take = _Taker(None) + # correctly load the `take` docstring. The definition will be + # over-ridden during class instantiation. + def take(cls): + raise NotImplementedError() @classmethod def empty(cls, column_labels=None):