Timeline for Applying a function to a Dataset column conditional on another slot's value
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 17, 2014 at 23:09 | history | edited | Rojo | CC BY-SA 3.0 |
deleted 1 character in body
|
Sep 17, 2014 at 23:06 | comment | added | Rojo |
But without any changes to MapAt I would hope this could work toodata[{Select[#PLATFORM == "Dropbox" &] -> {"LOCATION" -> foo}}]
|
|
Sep 17, 2014 at 23:04 | comment | added | Rojo |
Yes. I meant I hoped something like this could eventually work data[MapAt[foo, {Select[#PLATFORM == "Dropbox" &], "LOCATION"}]]
|
|
Sep 17, 2014 at 17:57 | comment | added | alancalvitti | Interesting use of Apply, but prefer WReach and my variation using MapAt. But no op form in 10.0.1, is that what you mean by advanced? | |
Sep 16, 2014 at 22:07 | history | edited | Rojo | CC BY-SA 3.0 |
added 19 characters in body
|
Sep 16, 2014 at 22:00 | history | answered | Rojo | CC BY-SA 3.0 |