title: How to persist DataFusion DataFrame in memory
body: <p>How can you persist a DataFusion DataFrame in memory with the Python bindings?  From what I understand, DataFusion doesn't persist data in memory by default.</p>
  <p>Here's how I register a CSV as a table:</p>
  <pre class="lang-py prettyprint-override"><code>import datafusion
  
  ctx = datafusion.SessionContext()
  ctx.register_csv(&quot;x&quot;, path)
  </code></pre>
  <p>How can I persist this data in memory?</p>