<divclass="content sourceset-depenent-content"data-active=""data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation">@</span><ahref="../space.kscience.kmath.misc/-unstable-k-math-a-p-i/index.html"><spanclass="token annotation">UnstableKMathAPI</span></a></div></div><spanclass="token keyword"></span><spanclass="token keyword">fun </span><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="as-columnar-data.html">T</a><spanclass="token operator">></span><ahref="../space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="as-columnar-data.html">T</a><spanclass="token operator">></span><spanclass="token punctuation">.</span><ahref="as-columnar-data.html"><spanclass="token function">asColumnarData</span></a><spanclass="token punctuation">(</span>mapping<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../space.kscience.kmath.expressions/-symbol/index.html">Symbol</a><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><spanclass="token operator">></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="-columnar-data/index.html">ColumnarData</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="as-columnar-data.html">T</a><spanclass="token operator">></span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><pclass="paragraph">A zero-copy method to represent a <ahref="../space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a> as a two-column x-y data. There could more than two columns in the structure.</p></div></div>