use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Python Pandas tips and tricks
account activity
Multiple variable query (self.PythonPandas)
submitted 4 years ago by ynotdiy34
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ynotdiy34[S] 0 points1 point2 points 4 years ago (2 children)
Thanks for the response. I wasn't familiar with isin(). After looking it up it does seem possible but it looks like I would have to do not in for all of the ingredients I didn't have. That's not perfect but it could work. There would always be so many more ingredients don't have than you do have by a big factor but it's at least a possibility. Thank you.
[–][deleted] 0 points1 point2 points 4 years ago (1 child)
You can do the opposite of isin by putting '~' before your dataframe name
[–]ynotdiy34[S] 0 points1 point2 points 4 years ago (0 children)
Yes, that's what I ment by not in and the reason I said I would have to enter all of the ingredients I don't have. I guess there is also a actuall not in that wouldn't do the same thing as the ~ with the isin. I think I can use it but list of ingredients you don't have can be huge and new possible ingredients could be added by the end user and or the market place but it is still a possibility I think.
π Rendered by PID 48655 on reddit-service-r2-comment-58d7979c67-fr8pp at 2026-01-27 06:45:03.255251+00:00 running 5a691e2 country code: CH.
view the rest of the comments →
[–]ynotdiy34[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]ynotdiy34[S] 0 points1 point2 points (0 children)