danepitkin commented on PR #43729:
URL: https://github.com/apache/arrow/pull/43729#issuecomment-2313744343

   Thanks for the second round of feedback! I will address all your comments. 
The only thing that doesn't work is `pa.interchange.from_dataframe`. It ends up 
hitting an Array func that asserts on CPU.
   
   ```
   pyarrow/interchange/from_dataframe.py:113: in from_dataframe
       return _from_dataframe(df.__dataframe__(allow_copy=allow_copy),
   pyarrow/interchange/from_dataframe.py:136: in _from_dataframe
       batch = protocol_df_chunk_to_pyarrow(chunk, allow_copy)
   pyarrow/interchange/from_dataframe.py:182: in protocol_df_chunk_to_pyarrow
       columns[name] = column_to_array(col, allow_copy)
   pyarrow/interchange/from_dataframe.py:216: in column_to_array
       col.describe_null,
   pyarrow/interchange/column.py:376: in describe_null
       if self.null_count == 0:
   pyarrow/interchange/column.py:388: in null_count
       arrow_null_count = self._col.null_count
   pyarrow/array.pxi:1196: in pyarrow.lib.Array.null_count.__get__
       self._assert_cpu()
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to