« first day (1735 days earlier)      last day (1548 days later) » 

6:48 AM
hello
 
7:10 AM
morning
 
Hello
do we have older dupe for this "subset based on column value" stackoverflow.com/q/28261719/680068
 
8:15 AM
Hi everyone :-)
 
@Sotos ok
 
8:38 AM
ignore me my math sucks
 
@zx8754 That ^ is the one I was talking about
 
9:36 AM
last delete vote -----^
 
lovely
 
 
2 hours later…
12:51 PM
People reopened...a merge() answer has been given...
 
1:26 PM
@Sotos rehammered...
 
@Cath Cheerzz!
 
@Sotos np ;-)
@zx8754 seems so, % instead of %%
 
1:43 PM
@zx8754 I guess this happens when you learn dplyr and then R
 
163K views... unique(). r-faq? stackoverflow.com/q/7755240/680068
 
I think so
 
@zx8754 I'd say yes too
 
2:40 PM
 
 
1 hour later…
3:52 PM
akrun passed half a million mark: 505,282
 
it was a matter of time I guess
 
4:16 PM
Seems SE is recovering from the Monica gate (and that the impact is low)
(stats from Devops.SE)
 
4:28 PM
is this not usual xmas dip?
 
4:47 PM
I'm talking of the dip at September end
the december 25th is usual yes
 
4:58 PM
21
Q: A Note To Meta on my 2020 Kickoff Blog Post

PchandrasekarHello members of the Meta community - I wanted to share the blog post I wrote to kick off 2020 and reflect on my first 90 days at the company. It’s intended for a wide audience, the tens of millions of people we serve, but also because I know you all want to hear directly from me. My style is to ...

 
5:30 PM
using dplyr, is this the simplest way to subset any rows that has TRUE in selected columns:
# use isTRUE within sapply
df %>% filter_at(vars(Column1, Column2), any_vars(sapply(., isTRUE)))
# or call equal function "=="
df %>% filter_at(vars(Column1, Column2), any_vars(`==`(., TRUE)))
example data
set.seed(1); df <- data.frame(Column1 = sample(c(TRUE, FALSE), 10, replace = TRUE),
Column2 = sample(c(TRUE, FALSE), 10, replace = TRUE))

should give 9 rows
 
5:44 PM
@zx8754 df %>% filter_all(any_vars(identity(.))) ?
or I instead of identity for full savings
Last example in the help suggests they are working on something simpler though
 
5:58 PM
There are other columns, too. didn't include for simplicity.
So using "I":
df %>% filter_at(vars(Column1, Column2), any_vars(I(.)))
 
6:16 PM
@zx8754 Sorry, was lazy with typing
figured you're smart enough ;)
 
Thank you
 
I doubt you could do any shorter for now
 

« first day (1735 days earlier)      last day (1548 days later) »