Getting rid of user warning #1861
Replies: 2 comments 2 replies
-
Can you please give us minimal example? Also which vaex version are you using? |
Beta Was this translation helpful? Give feedback.
-
I thought of a minimal example that we can run to reproduce your issue. import vaex
import numpy as np
df = vaex.from_arrays(x=['', '', '1', '2', '3'])
df.variables['nan'] = np.nan
df['x'] = df.func.where(df.x=='', np.nan, df.x)
df['x'] = df['x'].astype('float64') And I don't get that user warning. Btw, are you getting just a warning or an actual error? Another note: @maartenbreddels maybe we should have a way to force-cast an expression to a numberic one, that will make all non-numeric elements Oh I found the issue, also @derrickcchow maybe this will be helpful to you too: |
Beta Was this translation helpful? Give feedback.
-
Hi,
When, I rename a column name. I am getting a UserWarning: The state wants to rename Partial Period to __Partial Period, but __Partial Period was not found, ignoring the rename. Is there a way to get rid of this error or even silence it?
Thanks, Derrick
Beta Was this translation helpful? Give feedback.
All reactions