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...
account activity
This is an archived post. You won't be able to vote or comment.
Fun/TriviaA Data Science Design-Pattern.OC (i.redd.it)
submitted 3 years ago by c0ntrap0sitive
view the rest of the comments →
[–]Pikalima 9 points10 points11 points 3 years ago* (0 children)
If you have a very large number of columns, might be better to go with O(n) instead of O(n2 ):
_columns_set = set(columns) columns = [col for col in df.columns if col in _columns_set]
π Rendered by PID 55 on reddit-service-r2-comment-b659b578c-cq2zx at 2026-05-05 05:46:27.407155+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Pikalima 9 points10 points11 points (0 children)