In the Xorbits library, when I create a DataFrame with a specified chunk_size and apply map and drop_duplicates functions on it, I encounter an AttributeError: 'NoneType' object has no attribute 'kind'. However, when I do the same operations on a DataFrame without a chunk_size specified or execute the map operation before drop_duplicates, the code runs without any error.
Error stack trace: (Include your full error stack trace here)
Expected behavior
I expect that the code should run without throwing any AttributeError. The DataFrame should handle chunking seamlessly without modifying the behavior of the map or drop_duplicates functions.
Additional context
This issue does not occur when I do not specify chunk_size in DataFrame or execute the map operation before drop_duplicates. This suggests that there may be a problem with how Xorbits handles chunking when applying these functions.
Describe the bug
In the Xorbits library, when I create a DataFrame with a specified
chunk_size
and applymap
anddrop_duplicates
functions on it, I encounter anAttributeError: 'NoneType' object has no attribute 'kind'
. However, when I do the same operations on a DataFrame without achunk_size
specified or execute themap
operation beforedrop_duplicates
, the code runs without any error.To Reproduce
Environment:
Code to reproduce:
Error stack trace: (Include your full error stack trace here)
Expected behavior
I expect that the code should run without throwing any AttributeError. The DataFrame should handle chunking seamlessly without modifying the behavior of the
map
ordrop_duplicates
functions.Additional context
This issue does not occur when I do not specify
chunk_size
in DataFrame or execute themap
operation beforedrop_duplicates
. This suggests that there may be a problem with how Xorbits handles chunking when applying these functions.