pyarrow.compute.PadOptions

class pyarrow.compute.PadOptions(width, padding=' ')

Bases: _PadOptions

Options for padding strings.

Parameters:
widthint

Desired string length.

paddingstr, default “ “

What to pad the string with. Should be one byte or codepoint.

__init__(self, width, padding=' ')

Methods

__init__(self, width[, padding])

deserialize(buf)

Deserialize options for a function.

serialize(self)

static deserialize(buf)

Deserialize options for a function.

Parameters:
bufBuffer

The buffer containing the data to deserialize.

serialize(self)