Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.7K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Search for words in an association?

Posted 7 years ago
POSTED BY: Mike Luntz
3 Replies
Posted 7 years ago

Many thanks to Gianluca for a direct answer to my question and to Seth for the link to his tutorial on association and datasets. I had seen the tutorial by Seth and it, in fact, was what got me interested in what could be done in Mathematica relative to databases. I just had not absorbed all the information in his post.

Seth, you are correct in your sense that my background is in languages other than Mathematica. I first started programming in Fortran and then switched to Matlab after it was commercially available.

POSTED BY: Mike Luntz
POSTED BY: Seth Chandler

You can try with StringSplit and MemberQ:

zDataset = Dataset[zAssoc];
zDataset[Select[MemberQ[StringSplit[#Name], "Tom"] &]]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard