Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Add Table.drop method for removing columns #17416

Closed
asfimport opened this issue Aug 21, 2017 · 4 comments
Closed

[Python] Add Table.drop method for removing columns #17416

asfimport opened this issue Aug 21, 2017 · 4 comments

Comments

@asfimport
Copy link

asfimport commented Aug 21, 2017

See ARROW-1374 for a use case. This function should take as an input a list of columns and return a new Table instance without them.

A well-defined interface for this implementation can be found in Pandas: https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.drop.html

Reporter: Wes McKinney / @wesm
Assignee: Samuel Sinayoko

Related issues:

Note: This issue was originally created as ARROW-1388. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
We already have Table.remove_column. Shouldn't that already suffice?

@asfimport
Copy link
Author

Wes McKinney / @wesm:
That removes a single column. It might be nice to have a convenience function that accepts a list of integers or a list of field names to drop, like pandas

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Removed from 0.7.0 as non-urgent

@asfimport
Copy link
Author

Uwe Korn / @xhochy:
Part of #1924

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant