Have Missing Return Empty no `ValueError`
tshauck opened this issue · 0 comments
tshauck commented
For w/e reason pl.DataFrame.from_arrow
doesn't seem to recognize the schema on pa.Table
... at least when constructed inside of rust :/
In [7]: df.to_polars()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-7-69a42c23f8e0> in <cell line: 0>()
----> 1 df.to_polars()
~/miniconda3/envs/biobear/lib/python3.11/site-packages/pyarrow/table.pxi in pyarrow.lib.Table.from_batches()
ValueError: Must pass schema, or at least one RecordBatch