General
Usage
Extending
Plugins
Reference
timeflux.helpers.port
A set of Port helpers.
Create an event DataFrame
label (str) – The event label.
data (dict) – The optional data dictionary.
serialize (bool) – Whether to JSON serialize the data or not.
Dataframe
Find the given label in an event DataFrame
port (Port) – The event port.
label (str) – The string to look for in the label column.
The list of matched events, or None if there is no match.
DataFrame
Find a deep value in a port’s meta
keys (tuple|str) – The hiearchical list of keys.
default – The default value if not found.
The value, or default if not found.
Find a deep value in a dictionary
dictionary (dict) – The event port.