Alessandro Molina created ARROW-18189:
-----------------------------------------
Summary: [Python] Table.drop should support passing a single column
Key: ARROW-18189
URL: https://issues.apache.org/jira/browse/ARROW-18189
Project: Apache Arrow
Issue Type: Improvement
Components: Python
Reporter: Alessandro Molina
{code}
----> 2 data = dataset.drop("Churn")
/usr/local/lib/python3.7/dist-packages/pyarrow/table.pxi in
pyarrow.lib.Table.drop()
KeyError: "Column 'C' not found"
{code}
Also, for consistency, it would probably be good to have a
{{Table.drop_column}} alias, as all the other methods are name
{{Table.add_column}} and {{Table.set_column}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)