I wish to select data from a Dataset. The criteria is the Head of some functions. It's working fine when I formulate the selection with equality (==). When I use unequal (!=) I get an empty list where I expect some data. I did a check with a selection on an other column with characters and this works in all cases. See NB. Can someone help me on this please?
Hi Chris,
Use SameQ (===)
SameQ (===)
dataset[Select[Head[#e] === f &], {"a", "e"}] dataset[Select[Not[Head[#e] === f] &], {"a", "e"}]
Thanks Rohit. Subtil interpretations.
dataset[Select[Head[#e] =!= f &], {"a", "e"}]