You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/06/12 04:14:00 UTC
[jira] [Created] (ARROW-2699) [Python] Add pyarrow.Table method
that replaces a column with a new supplied column
Wes McKinney created ARROW-2699:
-----------------------------------
Summary: [Python] Add pyarrow.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
Fix For: 0.10.0
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
(v7.6.3#76005)