Ahmet Anil Pala
Ahmet Anil Pala
Hi, I couldn't find any more relevant bit of info anywhere about the pad token than here. I get that should not appear in the data but in the vocabulary...
in case you one needs to map only some certain values of a column to a value and leave the rest as is, the following does the trick: df['x_new'] =...
@JovanVeljanoski does it do "leave the rest as is" part?
df.func.where doesn't work for this purpose in 4.0.0a16a. Instead I used .apply to obtain the same results. `df["x_new"] = df["x"].apply(lambda val: 10 if val in to_replace_list else val)`
I've just reproduced it now. Turns out that, it works normally fine but when the value to replace is np.nan, it causes the following error `Error evaluating: RuntimeError('Oops, requesting column...
here it is: https://github.com/vaexio/vaex/issues/1199
from the source code I see that values calls the __array__ without any arguments https://github.com/vaexio/vaex/blob/a86bee4feed3319eb2f70658f575b8af8fa5c704/packages/vaex-core/vaex/dataframe.py#L6281 and the default arguments for __array__ is dtype=None and parallel=True https://github.com/vaexio/vaex/blob/a86bee4feed3319eb2f70658f575b8af8fa5c704/packages/vaex-core/vaex/dataframe.py#L5267 and when dtype is...
Hi, here is the full stack trace. I also tried with `ulimit -n 200000`. Same error ``` --------------------------------------------------------------------------- _RemoteTraceback Traceback (most recent call last) _RemoteTraceback: """ Traceback (most recent call...