Closed infzo closed 1 year ago
@infzo Thanks for reporting this issue. This is an index metadata-related issue. Upon investigation, we found out that it is an issue with pyarrow
and raised it here: https://github.com/apache/arrow/issues/15178
Until that is resolved, we recommend using the following workaround for a sliced table:
In [17]: cudf.DataFrame.from_pandas(tbl_slice.to_pandas())
Out[17]:
a b
0 aa 1
1 bb 2
Closing this issue, as an upstream issue has been raised: https://github.com/apache/arrow/issues/15178
Reopening since arrow might not be fixing this issue on their end: https://github.com/rapidsai/cudf/pull/12665
Describe the bug For an arrow table that contains string columns and is converted from pandas, the from_arrow fails after slice because the length does not match.
Steps/Code to reproduce bug
Expected behavior Translate correctly.
Environment overview (please complete the following information)
Environment details Not found.