Closed oliverholworthy closed 1 year ago
Follow-up to #244
This PR adds support for cupy and numpy array types in flatten_list_column_values.
flatten_list_column_values
The motivation for this comes from:
pd.api.types.is_list_like
pd.api.types.is_list_like(cupy.array(1)) # => True
pd.api.types.is_list_like(cupy.array(1)) # => False
Follow-up to #244
This PR adds support for cupy and numpy array types in
flatten_list_column_values
.The motivation for this comes from:
flatten_list_column_values
if the array is list-like.pd.api.types.is_list_like
return value for cupy array's changes depending on version of the pandas package.pd.api.types.is_list_like(cupy.array(1)) # => True
pd.api.types.is_list_like(cupy.array(1)) # => False