I'd like to do something like:
acc.str()?
.iter()
.map(|x| {
x.push_str("AA");
})
But the x is a Option<&str>, not String.
I read API docs and it seems that there is no way to extract String instead of &str.
Is there any way to modify the Strings in a ChunkedArray in-place?
You can achieve the intended functionality by using
apply_to_bufferAPI.This will print
See also: