3,455 reputation
737
bio website
location
age
visits member for 2 years, 6 months
seen 1 hour ago

2h
comment Auto highlighting input cells depending on input expression (eg its Head)
on inspection, adding semicolon changes the Head?
4h
comment Auto highlighting input cells depending on input expression (eg its Head)
after restarting M, no longer see warnings. However, existing input cells with Head = that I manually highlighted revert to no background color when evaluated, even if de-novo expressions turn blue as desired.
5h
comment Applying a function to a Dataset column conditional on another slot's value
To Taliesin or others involved with Dataset dev, note despite the simplicity of Simplex's query, "LOCATION" appears 3 times. Can you implement a more compact operator?
5h
comment Applying a function to a Dataset column conditional on another slot's value
@Mr.Wizard, your version inserts foo literally rather than applying a function. Try foo[s_String] := "base/" <> s,
5h
comment Applying a function to a Dataset column conditional on another slot's value
@Simplex, that's great. That's the form I'll use - wish I'd waited to accept.
21h
comment Applying a function to a Dataset column conditional on another slot's value
Well I didn't want to bloat the example but the actual data has many columns. Can you modify with something similar to this? (Append[ Complement[data[1, Keys] // Normal, {"LOCATION"}] // Normal // AssociationMap[Identity], {"LOCATION" -> (If[#PLATFORM === "Dropbox", foo[#LOCATION], #LOCATION]&)}]
21h
revised Applying a function to a Dataset column conditional on another slot's value
added 2 characters in body
21h
asked Applying a function to a Dataset column conditional on another slot's value
1d
comment Auto highlighting input cells depending on input expression (eg its Head)
Actually I am getting these messages by clicking anywhere in a notebook not just in your code.
1d
accepted Auto highlighting input cells depending on input expression (eg its Head)
1d
comment Auto highlighting input cells depending on input expression (eg its Head)
Works as intended, but when I added another item, got a string of this msg: "The specified setting for the option Background cannot be used"
1d
revised Auto highlighting input cells depending on input expression (eg its Head)
edited body; edited title
1d
asked Auto highlighting input cells depending on input expression (eg its Head)
1d
answered Select in complex dataset query
1d
comment Select in complex dataset query
That'd help b/c as-is, Apply[...] doesn't work as Slot expects an Association, which a is not.
1d
comment Select in complex dataset query
What I mean is, Slot : Association :: "Reference" : ? -- in your application.
1d
comment Select in complex dataset query
Reference is a named slot of what Association?
Sep
13
comment V10's Operator Forms - what are they good for?
@TaliesinBeynon, are (1) syntactic sugar and (2) interpretation as descending operators in Dataset independent aspects? Is it feasible to introduce op form for (1) only?
Sep
13
accepted DeleteMissing level spec confusion
Sep
13
awarded  Popular Question