Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
https://arrow.apache.org/docs/python/generated/pyarrow.Table.html#pyarrow.Table.column says that I can select a column by name. However, I get an error `TypeError: an integer is required`.
<ipython-input-16-d22a22c23810> in build_arrow(name)
31 print(table.schema)
32
---> 33 table.column('ARRIVAL')
34
35 writer = pa.RecordBatchFileWriter(f'
.arrow', table.schema)
table.pxi in pyarrow.lib.Table.column()
TypeError: an integer is required