Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Update typo in docs example of structs_column_wrapper #14949

Merged
merged 2 commits into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cpp/include/cudf_test/column_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1820,12 +1820,12 @@ class structs_column_wrapper : public detail::column_wrapper {
* child_columns.push_back(std::move(child_int_col));
* child_columns.push_back(std::move(child_string_col));
*
* struct_column_wrapper struct_column_wrapper{
* structs_column_wrapper structs_col{
* child_cols,
* {1,0,1,0,1} // Validity.
* };
*
* auto struct_col {struct_column_wrapper.release()};
* auto struct_col {structs_col.release()};
* @endcode
*
* @param child_columns The vector of pre-constructed child columns
Expand All @@ -1846,12 +1846,12 @@ class structs_column_wrapper : public detail::column_wrapper {
* fixed_width_column_wrapper<int32_t> child_int_col_wrapper{ 1, 2, 3, 4, 5 };
* string_column_wrapper child_string_col_wrapper {"All", "the", "leaves", "are", "brown"};
*
* struct_column_wrapper struct_column_wrapper{
* structs_column_wrapper structs_col{
* {child_int_col_wrapper, child_string_col_wrapper}
* {1,0,1,0,1} // Validity.
* };
*
* auto struct_col {struct_column_wrapper.release()};
* auto struct_col {structs_col.release()};
* @endcode
*
* @param child_column_wrappers The list of child column wrappers
Expand Down Expand Up @@ -1882,12 +1882,12 @@ class structs_column_wrapper : public detail::column_wrapper {
* fixed_width_column_wrapper<int32_t> child_int_col_wrapper{ 1, 2, 3, 4, 5 };
* string_column_wrapper child_string_col_wrapper {"All", "the", "leaves", "are", "brown"};
*
* struct_column_wrapper struct_column_wrapper{
* structs_column_wrapper structs_col{
* {child_int_col_wrapper, child_string_col_wrapper}
* cudf::detail::make_counting_transform_iterator(0, [](auto i){ return i%2; }) // Validity.
* };
*
* auto struct_col {struct_column_wrapper.release()};
* auto struct_col {structs_col.release()};
* @endcode
*
* @param child_column_wrappers The list of child column wrappers
Expand Down
Loading