Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2699

[C++/Python] Add Table method that replaces a column with a new supplied column

    XMLWordPrintableJSON

Details

    Description

      This method would produce a new table since table objects are immutable. Example:

      new_column = table.column(name).cast(pa.timestamp('ms'))
      new_table = table.set_column(name, new_column)
      

      See discussion in https://github.com/apache/arrow/pull/2129#issuecomment-396423002

      Attachments

        Issue Links

          Activity

            People

              uwe Uwe Korn
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m