Replace Certain Values of A column in SparklyR

98 views
Skip to first unread message

Shilp

unread,
Oct 14, 2016, 3:14:32 PM10/14/16
to SparkR Developers
Hi,

I have a sparkR Data frame and I want to Replace certain Rows of a Column which satisfy certain condition with some value.

If it was a simple R data frame then I would do something as follows:

df$Column1[df$Column1 == "Value"] = "NewValue"

 

How would i perform similar operation on a SparkR data frame using sparklyR if possible.. ??

Any help appreciated. 

Thanks

Reply all
Reply to author
Forward
0 new messages