rapidsai / rapids-examples

33 stars 24 forks source link

string_udf example cleanup #7

Closed randerzander closed 3 years ago

randerzander commented 3 years ago

Let's make the string_udf example simpler with Python bindings that work with cudf Python. Something like:

import cudf
df = cudf.DataFrame({'id': [0, 1, 2], 'val': ['abc', 'def', 'ghi']}

df['result'] = cpp_string_udf(df['val'])

instead of a CLI binary

jdye64 commented 3 years ago

This is now complete as part of PR https://github.com/rapidsai/rapids-examples/pull/19