[ 
https://issues.apache.org/jira/browse/ARROW-15042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486000#comment-17486000
 ] 

Suhail Razzak commented on ARROW-15042:
---------------------------------------

Hey [~jorisvandenbossche], in this case, would we want something like an 
{{_NDFrame}} base class that stores these kinds of methods? Would that approach 
make sense?

> [Python] Consolidate shared methods of RecordBatch and Table
> ------------------------------------------------------------
>
>                 Key: ARROW-15042
>                 URL: https://issues.apache.org/jira/browse/ARROW-15042
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Joris Van den Bossche
>            Assignee: Joris Van den Bossche
>            Priority: Major
>
> RecordBatch and Table have a bunch of similar methods that don't directly 
> interact with the C++ pointer, and thus that could be shared in a common base 
> class.
> In addition, we also have some methods on Table that would also be useful for 
> RecordBatch (eg {{cast}}, {{group_by}}, {{drop}}, {{select}}, {{sort_by}}, 
> {{rename_columns}}), which could also be shared with a common mixin.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to