Answers for "convert dtype of column cudf"

1

convert dtype of column cudf

# convert just columns "a" and "b" of dataframe(df)
df["a","b"] = cudf.to_numeric(df["a","b"])

# convert ALL columns of DataFrame
df = cudf.to_numeric(df) # convert all columns of DataFrame, 

#dont try `cudf.apply` as it is not supported in cudf API
Posted by: Guest on April-11-2021

Code answers related to "convert dtype of column cudf"

Python Answers by Framework

Browse Popular Code Answers by Language