0

I am trying to perform a .apply() method on a vaex data frame but it gives some error.

Given below is the code executed - enter image description here

and the error message is as follows -

enter image description here

This dataset has 10+ Million rows.

I am trying to create one-hot encoded features wherein the values in each feature represent the count of its repetition by the same user before the current transaction date.

Kindly help ;(

  • 1
    I can't tell if you are using the apply function correctly in the vaex framework (screenshots is not a very good way to share code).. But if you are looking to one-hot encode a column, why not use the methods already provided by vaex: https://vaex.readthedocs.io/en/latest/tutorial_ml.html#Encoding-of-categorical-features – Joco Nov 29 '22 at 23:11

0 Answers0