polars_cloud.ExecuteRemote.show#

ExecuteRemote.show(n: int = 10, *, silent: bool | None = None) DataFrame#

Start executing the query return the first n rows.

Show will immediately block this thread and wait for a successful result. It will immediately turn the result into a DataFrame.

Parameters:
n

Number of rows to return

silent

Don’t print to stdout during blocking execution.

Examples

>>> pl.scan_parquet("s3://..").select(
...     pl.len()
... ).remote().show()  
shape: (1, 1)
┌───────┐
│ count │
│ ---   │
│ u32   │
╞═══════╡
│ 1000  │
└───────┘