Files | |
file | transpose.hpp |
Functions | |
std::pair< std::unique_ptr< column >, table_view > | cudf::transpose (table_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
Transposes a table. More... | |
std::pair<std::unique_ptr<column>, table_view> cudf::transpose | ( | table_view const & | input, |
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::device_async_resource_ref | mr = cudf::get_current_device_resource_ref() |
||
) |
Transposes a table.
Stores output in a contiguous column, exposing the transposed table as a table_view
.
cudf::logic_error | if column types are non-homogeneous |
cudf::logic_error | if column types are non-fixed-width |
[in] | input | A table (M cols x N rows) to be transposed |
[in] | stream | CUDA stream used for device memory operations and kernel launches |
[in] | mr | Device memory resource used to allocate the device memory of returned value |
column
and table_view
, representing the owner and transposed table, respectively.