Unique¶
Reduce data to its unique values along an axis.
When applied along an axis of a multi-dimensional packet, array, or list of lists, the data is treated as a stack of slices along the given axis, and the data is reduced to the unique slices. Note that the order is by default stable, i.e., the order of appearance is preserved, but this can be overridden. Version 0.8.0
Ports/Properties¶
data¶
Data to process.
axis¶
Axis along which to reduce the data. For multi-dimensional data, the effect of this is that the array is treated as a stack of slices along the given axis, and the array is reduced to the unique slices. You can also enter the axis label here as in feature.mylabel. For packet data, this axis will be replaced by a generic axis with a label 'unique'.
order¶
Order in which to return the unique elements. If set to 'stable', the order of appearance is preserved. If set to 'sorted', the unique elements are sorted (note that for lists of non-numeric data, this mode requires the data to be sortable).
stream¶
Name of stream to process. Wildcards are supported, so mystream* will process all streams whose name starts with mystream.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.