Batch Delete

deleted = table.delete_rows_by_query(expr = "number < 200")  

Result:

This method returns a String representing the status of delete operation. If the error pops up when deleting data, “ValueError” exception will be raised.

Parameter description:

ParametersDescriptionRequired
expr (str)Expression, used to filter data to be deletedNo, defaults to blank
wait_for_completion (bool)Whether to wait until this job is doneNo, defaults to True
timeout (str)Operation timeoutNo, defaults to "2m"
Table 71 Batch Delete (Python API)