@lazyval
    def dependencies(self):
        """
        The number of extra rows needed for each of our inputs to compute this
        term.
        """
        extra_input_rows = max(0, 1 - self.window_length)
        out = {}
        for term in self.inputs:
            out[term] = extra_input_rows
        out[self.mask] = 0
        return out
dataset/ETHPy150Open quantopian/zipline/zipline/pipeline/term.py/ComputableTerm.dependencies/swapped operands of `-`