How to persist DataFusion DataFrame in memory

69 Views Asked by At

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.

Here's how I register a CSV as a table:

import datafusion

ctx = datafusion.SessionContext()
ctx.register_csv("x", path)

How can I persist this data in memory?

0

There are 0 best solutions below