Class RowSampleFilter (2.10.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).

Inheritance

builtins.object > RowFilter > RowSampleFilter

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

Returns
TypeDescription
`.data_v2_pb2.RowFilter`The converted current object.