DAGDA SEARCH | Back to results | Support

pyarrow.compute.RandomOptions — Apache Arrow v26.0.1

Source: https://arrow.apache.org/docs/python/generated/pyarrow.compute.RandomOptions.html

pyarrow.compute.RandomOptions#

class pyarrow.compute.RandomOptions(*, initializer='system')#

Bases: _RandomOptions

Options for random generation.

Parameters:
initializerint or str

How to initialize the underlying random generator. If an integer is given, it is used as a seed. If “system” is given, the random generator is initialized with a system-specific source of (hopefully true) randomness. Other values are invalid.

__init__(self, *, initializer='system')#

Methods

__init__(self, *[, initializer])

deserialize(Buffer buf)

Deserialize options for a function.

serialize(self)

static deserialize(Buffer buf)#

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)#
On this page Edit on GitHub