ray.data.datasource.PartitionStyle.rstrip#

PartitionStyle.rstrip(chars=None, /)#

返回一个去除尾部空白字符的字符串副本。

如果给出了 chars 且不为 None,则移除 chars 中的字符。