diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b897e868ce134..ea91046f4b8e4 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -901,6 +901,11 @@ def __dataframe__( """ Return the dataframe interchange object implementing the interchange protocol. + .. note:: + + For new development, we highly recommend using the Arrow C Data Interface + alongside the Arrow PyCapsule Interface instead of the interchange protocol + .. warning:: Due to severe implementation issues, we recommend only considering using the diff --git a/pandas/core/interchange/from_dataframe.py b/pandas/core/interchange/from_dataframe.py index 869ff43728860..7f2647d64b190 100644 --- a/pandas/core/interchange/from_dataframe.py +++ b/pandas/core/interchange/from_dataframe.py @@ -36,6 +36,11 @@ def from_dataframe(df, allow_copy: bool = True) -> pd.DataFrame: """ Build a ``pd.DataFrame`` from any DataFrame supporting the interchange protocol. + .. note:: + + For new development, we highly recommend using the Arrow C Data Interface + alongside the Arrow PyCapsule Interface instead of the interchange protocol + .. warning:: Due to severe implementation issues, we recommend only considering using the