diff --git a/cpp/include/cudf/lists/extract.hpp b/cpp/include/cudf/lists/extract.hpp index e916d4f6e72..0042d0e00e1 100644 --- a/cpp/include/cudf/lists/extract.hpp +++ b/cpp/include/cudf/lists/extract.hpp @@ -28,8 +28,8 @@ namespace lists { */ /** - * @brief Create a column where each row is the `index`th element from the corresponding sublist - * in the input `lists_column`. + * @brief Create a column where each row is the element at position `index` from the corresponding + * sublist in the input `lists_column`. * * Output `column[i]` is set from element `lists_column[i][index]`. * If `index` is larger than the size of the sublist at `lists_column[i]` diff --git a/cpp/src/lists/extract.cu b/cpp/src/lists/extract.cu index ad3b85ce950..381864e1a68 100644 --- a/cpp/src/lists/extract.cu +++ b/cpp/src/lists/extract.cu @@ -20,15 +20,16 @@ #include #include #include +#include -#include #include #include -#include "cudf/scalar/scalar_factories.hpp" #include #include +#include + namespace cudf { namespace lists { namespace detail {