Learn how to update data previously published to the Openlayer platform
It is possible to update data previously streamed to the Openlayer platform. It usually happens when:
This guide shows how to use Openlayer SDKs to update previously published data.
Every row streamed to Openlayer has an inference_id
— a unique identifier
of the row. You can provide the inference_id
during stream time, and if you don’t,
Openlayer will assign unique IDs to your rows.
You must use the inference_id
to specify the rows you want to update.
Let’s say that you want to add a column called label
with ground truths. If you have
your data in a pandas DataFrame similar to:
First, you need to retrieve the inference pipeline object with:
Then, you can update the data specified by the inference IDs with:
Learn how to update data previously published to the Openlayer platform
It is possible to update data previously streamed to the Openlayer platform. It usually happens when:
This guide shows how to use Openlayer SDKs to update previously published data.
Every row streamed to Openlayer has an inference_id
— a unique identifier
of the row. You can provide the inference_id
during stream time, and if you don’t,
Openlayer will assign unique IDs to your rows.
You must use the inference_id
to specify the rows you want to update.
Let’s say that you want to add a column called label
with ground truths. If you have
your data in a pandas DataFrame similar to:
First, you need to retrieve the inference pipeline object with:
Then, you can update the data specified by the inference IDs with: