I need to extract rows from a dataframe based on values of a specific column. I tried to use
filter but it’s slower than traditional
findall. Am I missing something?
df = DataFrame(a=["a", "b", "c"], b=[1,2,3]) @elapsed myrow = filter(row -> row[:a] == "a" , df) @elapsed myrow = df[findall(df.a.=="a"),:]