pyarrow.dataset.scalar

pyarrow.dataset.scalar(value)[source]

Expression representing a scalar value.

Parameters:
valuebool, int, float or str

Python value of the scalar. Note that only a subset of types are currently supported.

Returns:
scalar_exprExpression

An Expression representing the scalar value