[
https://issues.apache.org/jira/browse/ARROW-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-2699:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/19090
> [C++/Python] Add Table method that replaces a column with a new supplied
> column
> -------------------------------------------------------------------------------
>
> Key: ARROW-2699
> URL: https://issues.apache.org/jira/browse/ARROW-2699
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Python
> Reporter: Wes McKinney
> Assignee: Uwe Korn
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.10.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> This method would produce a new table since table objects are immutable.
> Example:
> {code}
> new_column = table.column(name).cast(pa.timestamp('ms'))
> new_table = table.set_column(name, new_column)
> {code}
> See discussion in
> https://github.com/apache/arrow/pull/2129#issuecomment-396423002
--
This message was sent by Atlassian Jira
(v8.20.10#820010)