colstore.col

colstore.col(name)[source]

A lazy reference to a column, for building filter expressions.

col("pt") > 30 and combinations ((col("pt") > 30) & col("ok"), col("eta").isin([0, 1])) build a lazy predicate that reads nothing until applied with ds[expr] / ColStoreReader.where() / passed to ColStoreReader.query(). Combine conditions with & | ~ (not and / or / not), and use .isin(...) for membership.

Parameters:

name (str)

Return type:

_Expr