Is there any way to share the memory/data contained in a dataframe with another item? I naively tried this using memoryview
, but I think it's quite a bit more complex than this (or possibly not supported at all):
>>> import pandas as pd
>>> df=pd.DataFrame([{'Name':'Brad'}])
>>> v=memoryview(df)
TypeError: cannot make memory view because object does not have the buffer interface