Delete rows from a sequence
- async AsyncCogniteClient.sequences.data.delete(
- rows: Sequence[int],
- id: int | None = None,
- external_id: str | None = None,
-
- Parameters:
rows (Sequence[int]) – List of row numbers.
id (int | None) – Id of sequence to delete rows from.
external_id (str | None) – External id of sequence to delete rows from.
Examples
Delete rows from a sequence:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> client.sequences.data.delete(id=1, rows=[1, 2, 42])