featurebyte.Feature.str.pad¶
Description¶
Pads each string element up to the specified width.
Parameters¶
- width: int
Minimum width of resulting string. Additional characters will be filled withfillchar
. - side: Literal["left", "right", "both"]
default: "left"
Padding direction. - fillchar: str
default: " "
Character used to pad.
Returns¶
- Feature
A new Feature object.