;&gt; a = polars.from_dict({&quot;a&quot;:[1,1,2,2], &quot;c&quot;: [&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;], &quot;b&quot;:[&#39;{&quot;my_field&quot;: &quot;quack&quot;}&#39;,&#39;{&quot;my_field&quot;: &quot;quack&quot;}&#39;,&#39;{&quot;my_field&quot;: &quot;quack&quot;}&#39;,&#39;{&quot;my_field&quot;: &quot;quack&quot;}&#39;]})</span>
<span class="sd">        &gt;&gt;&gt; a = qc.from_polars(a)</span>
<span class="sd">        &gt;&gt;&gt; a.with_columns({&quot;my_field&quot;: a[&quot;b