This post is tested under Julia v1.6.1 and DataFrames v1.2.0.
Base.setdiff will do the trick.
a = [1, 3, 5, 7, 9, 10, ‘a’, ‘e’]
b = [2, 4, 9, 11, 7, ‘e’, ‘b’]
To find elements in a but not in b:
setdiff(a, b) # returns [1, 3, 5, 10, ‘a’]
This works for 2-dimensional arrays as well:
<code class=“language-bash” …