e.g. ``` fields = [ pa.field('foo', pa.int32()), pa.field('bar', pa.string()), pa.field('baz', pa.list_(pa.int8())) ] s1 = pa.schema(fields) s2 = s1.set(0, s1.field(0).with_type(pa.int64())) ``` See https://github.com/apache/arrow/issues/42012#event-17558114914 for more informaiton