Class RowSampleFilter (2.23.0)

RowSampleFilter(sample)

Matches all cells from a row with probability p.

Parameter

NameDescription
sample float

The probability of matching a cell (must be in the interval (0, 1) The end points are excluded).

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

Returns
TypeDescription
.data_v2_pb2.RowFilterThe converted current object.