Replies: 1 comment 2 replies
-
so i could get the results that i wanted via:
i was wondering if there is a simpler way? best wishes |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
thanks for the great library
i was wondering if there is a way to select a subset of rows via some non boolean expression
like in this example
new_df = df.select(df["sub_id"] in id_list)
i tried to use this, and it only returns the boolean result (True/False)
new_df = df[~(for i in df["subid"] if i in id_list)]
kind regards
Beta Was this translation helpful? Give feedback.
All reactions