[FEA] Utility to carefully determine Iterable-like inputs for as_column
#8796
Labels
Projects
Milestone
as_column
#8796
Is your feature request related to a problem? Please describe.
We have a bunch of
pa.array
calls that happen in our Column constructor i.e.,as_column
. Most of theIterable
objects get sent topa.array
calls and thus get exhausted giving no opportunity to retrieve back the previous elements and this is problematic as we do try/except around this logic. Hence we would need a proper utility function to determine if the input toas_column
is anIterator
that is not a sequence.cc: @shwina
The text was updated successfully, but these errors were encountered: