Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gammarator
on Oct 7, 2019
|
parent
|
context
|
favorite
| on:
R is a joy if you treat it like Awk
That's a numpy one-liner.
np.setdiff1d(array_one, array_two)
tfehring
on Oct 7, 2019
[–]
This is completely different functionality than the parent comment's code. It's only joining on one "column", not two, and it only returns the values in that "column", while the parent's code returns complete rows from the dataframe.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: