search for: col_01

Displaying 4 results from an estimated 4 matches for "col_01".

Did you mean: col_02
2020 Oct 31
2
fast way to find most common value across columns dataframe
...can parse one row at the time and find the most common character (apart for ties...). But I think this will be very slow and memory consuming. Is there a way to run it more efficiently? Thank you ``` V = c("A", "B", "C", "D") df = data.frame(n = 1:10, col_01 = sample(V, 10, replace = TRUE, prob = NULL), col_02 = sample(V, 10, replace = TRUE, prob = NULL), col_03 = sample(V, 10, replace = TRUE, prob = NULL), col_04 = sample(V, 10, replace = TRUE, prob = NULL), col_05 = sample(V, 10, replace = TRUE, prob = NULL), string...
2020 Oct 31
0
fast way to find most common value across columns dataframe
...gt; most common character (apart for ties...). But I think this will be > very slow and memory consuming. > Is there a way to run it more efficiently? > Thank you > > ``` > V = c("A", "B", "C", "D") > df = data.frame(n = 1:10, > col_01 = sample(V, 10, replace = TRUE, prob = NULL), > col_02 = sample(V, 10, replace = TRUE, prob = NULL), > col_03 = sample(V, 10, replace = TRUE, prob = NULL), > col_04 = sample(V, 10, replace = TRUE, prob = NULL), > col_05 = sample(V, 10, replace = TRUE, prob =...
2020 Oct 31
2
fast way to find most common value across columns dataframe
...s...). But I think this will be > > very slow and memory consuming. > > Is there a way to run it more efficiently? > > Thank you > > > > ``` > > V = c("A", "B", "C", "D") > > df = data.frame(n = 1:10, > > col_01 = sample(V, 10, replace = TRUE, prob = NULL), > > col_02 = sample(V, 10, replace = TRUE, prob = NULL), > > col_03 = sample(V, 10, replace = TRUE, prob = NULL), > > col_04 = sample(V, 10, replace = TRUE, prob = NULL), > > col_05 = sample(V, 10, rep...
2020 Oct 31
0
fast way to find most common value across columns dataframe
...>> > very slow and memory consuming. >> > Is there a way to run it more efficiently? >> > Thank you >> > >> > ``` >> > V = c("A", "B", "C", "D") >> > df = data.frame(n = 1:10, >> > col_01 = sample(V, 10, replace = TRUE, prob = NULL), >> > col_02 = sample(V, 10, replace = TRUE, prob = NULL), >> > col_03 = sample(V, 10, replace = TRUE, prob = NULL), >> > col_04 = sample(V, 10, replace = TRUE, prob = NULL), >> > col_05 = s...