def initialize(self, *args, **kwargs):

        if kwargs not in 'talib':
            raise KeyError('No TA-LIB transform specified '
                           '(use keyword \'talib\').')
        elif not isinstance(kwargs['talib'], (list, tuple)):
            self.talib_transforms = (kwargs['talib'],)
        else:
            self.talib_transforms = kwargs['talib']

        self.talib_results = dict((t, []) for t in self.talib_transforms)
dataset/ETHPy150Open quantopian/zipline/zipline/test_algorithms.py/TALIBAlgorithm.initialize/swapped operands of `not in`