polars_cloud.LazyFrameExt.show#

LazyFrameExt.show(n: int = 10) 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

Examples

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