[ https://issues.apache.org/jira/browse/ARROW-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-2698. --------------------------------- Resolution: Fixed Assignee: Krisztian Szucs > [Python] Exception when passing a string to Table.column > -------------------------------------------------------- > > Key: ARROW-2698 > URL: https://issues.apache.org/jira/browse/ARROW-2698 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Dominik Moritz > Assignee: Krisztian Szucs > Priority: Minor > Fix For: 0.10.0 > > > 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'{name}.arrow', table.schema) > table.pxi in pyarrow.lib.Table.column() > TypeError: an integer is required -- This message was sent by Atlassian JIRA (v7.6.3#76005)