Skip to content

Select no columns

Source code

Description

This is useful for composition with other selectors.

Usage

cs__empty()

Value

A Polars selector

See Also

cs for the documentation on operators supported by selectors.

Examples

library("polars")

pl$DataFrame(a = 1, b = 2)$select(cs$empty())
#> shape: (0, 0)
#> ┌┐
#> ╞╡
#> └┘