The following unary SequenceIterator methods apply the specified operation on the object's sequence and return a sequence iterator of the same type.
abs() Return the sequence of absolute values of the object's elements
neg() Return the sequence of the negative of the object's elements
Example
Following is an example code snippet demonstrating a unary operator method:
cursor = con.cursor("Quote", "by_sym") for quote in cursor: ... differenceIterator = quote.high.sub(quote.close) absIterator = differenceIterator.abs() ...