Example #1
0
def generic_expand_cumulative_series(self, args, kws):
    # taken from arraydecl.py, replaced Array with Series
    assert not args
    assert not kws
    assert isinstance(self.this, SeriesType)
    return_type = SeriesType(_expand_integer(self.this.dtype))
    return signature(return_type, recvr=self.this)
Example #2
0
 def generic(self, args, kws):
     assert not kws
     assert len(args) == 1
     # arg: in_arr
     return signature(_expand_integer(args[0].dtype), *args)