I have a dataframe having >100k records, it has 10-15 columns which needs to be coalesced, I used following code:
for COL in [cols_to_be_coalesced]:
df['COL'] = np.where(df['COL']!='', df['COL'], df['COL_X'])
Here if df is pandas dataframe, it executes it in ~2 minutes but of df is modin dataframe, it takes ~30 minutes.
Can you please suggest equivalent faster alternative of np.where for modin dataframe ?
This communication is confidential and subject to and governed by Saama’s Electronic Communications Disclaimer.
--
You received this message because you are subscribed to the Google Groups "modin-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modin-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modin-dev/f413bb96-adcd-41ae-99ea-a1f15dd67682n%40googlegroups.com.