[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.interchange.from_dataframe.html [Back]  [Original]

pyarrow.interchange.from_dataframe — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.interchange.from_dataframe#

pyarrow.interchange.from_dataframe(df: Any, allow_copy=True) Table[source]#

Build a pa.Table from any DataFrame supporting the interchange protocol.

Parameters:
dfDataFrameObject

Object supporting the interchange protocol, i.e. __dataframe__ method.

allow_copybool, default: True

Whether to allow copying the memory to perform the conversion (if false then zero-copy approach is requested).

Returns:
pa.Table

Web Proxy Viewer  |  New URL  |  Original Page