Skip to content

Support for Data Frames

Quix Streams supports the pandas DataFrame format.

When you subscribe to a topic or publish data to a topic, you can choose to use this format.

The client library uses the common TimeseriesData format internally, but handles the conversion to pandas data frame format for you.

For example, the following TimeseriesData data:

Timestamp CarId (tag) Speed Gear
1 car-1 120 3
1 car-2 123 3
3 car-1 125 3
6 car-2 110 2

Is represented as the following pandas DataFrame:

time TAG__CarId Speed Gear
1 car-1 120 3
1 car-2 123 3
3 car-1 125 3
6 car-2 110 2

Quix Streams provides multiple methods and events that work directly with pandas DataFrame.

Next steps

Please refer to the sections Using Data Frames for subscribing and Using Data Frames for publishing for further information.