Method

ArrowTablereplace_column

Declaration [src]

GArrowTable*
garrow_table_replace_column (
  GArrowTable* table,
  guint i,
  GArrowField* field,
  GArrowChunkedArray* chunked_array,
  GError** error
)

Description

No description available.
Available since:0.15.0

Parameters

i guint
 

The index of the column to be replaced.

field GArrowField
 

The field for the new column.

 The data is owned by the caller of the function.
chunked_array GArrowChunkedArray
 

The newly added column data.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowTable
 

The newly allocated GArrowTable that has column as the i-th column or NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.