rapidsai / rapids-examples

33 stars 24 forks source link

Add cython interface to strings_udf #17

Closed davidwendt closed 3 years ago

davidwendt commented 3 years ago

This PR adds some files that can be used to build a cython interface to the strings_udf C++ logic. Example usage is in the test.py. Building the cython code is possible with the build.py file but may require moving some files. The C++ code has also been restructured to make it easier to use from a .cpp file and not requiring a .cu file. The main API exposed accepts a UDF string, function name (string), and a strings column and returns a strings column.

randerzander commented 3 years ago

Thanks, @davidwendt !