Module Agg.Bool

val all : t -> string -> bool

all df name is true iff all non-null values are true.

Returns true for columns with only null values (vacuous truth).

val any : t -> string -> bool

any df name is true iff any non-null value is true.

Returns false for columns with only null values.

val sum : t -> string -> int

sum df name is the number of true values. Nulls are excluded.

val mean : t -> string -> float

mean df name is the proportion of true values among non-null. nan if all values are null.