Skip to content
Velo

.stream_rows

Executes the prepared requests returned by .batch_rows and yields a pandas DataFrame after each request completes.

Example

batches = client.batch_rows(params)
 
for rows in client.stream_rows(batches):
    process(rows)

Parameters

batches

  • Type: list[dict]

The list returned by .batch_rows.

Yields

pandas.DataFrame

Yields one DataFrame per batch. A batch with no matching rows yields an empty DataFrame.