pyarrow.compute.TakeOptions#

class pyarrow.compute.TakeOptions(*, boundscheck=True)#

基类:_TakeOptions

takearray_take 函数的选项。

参数:
boundscheckbool, 默认 True

是否检查索引是否在范围内。如果设为 False 且索引越界,则行为未定义(可能会导致进程崩溃)。

__init__(self, *, boundscheck=True)#

方法

__init__(self, *[, boundscheck])

deserialize(buf)

反序列化函数的选项。

serialize(self)

static deserialize(buf)#

反序列化函数的选项。

参数:
bufBuffer

包含要反序列化数据的缓冲区。

serialize(self)#