ray.data.preprocessors.OrdinalEncoder.serialize# OrdinalEncoder.serialize() → str# Return this preprocessor serialized as a string. Note: this is not a stable serialization format as it uses pickle. DeveloperAPI: This API may change across minor Ray releases.