18 - Filtering out DataFrame Rows: Part III #shorts [Julia & R programming]
Alex Tantos
#shorts For filtering out rows based on complex conditions, R-Ladies included the following two examples: the first returns the dataframe rows that take the value "Beds" on the "category" column and the value "Yes" on the "other_colors" column. The second example results in a subset of the initial ikea dataframe based on another complex condition. Julia, in its anonymous function offers a similar notation with respect to the same complex conditions with minor differences; for example the logical AND operator is denoted with the double ampersand while vectors, as always are denoted with brackets.
Link to the ikea dataset: https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-11-03/ikea.csv
Ladies Freiburg (Kyla McConnell and Julia Müller) - Tidy Data: Zero to sHero {Part 2}: https://www.youtube.com/watch?v=ivSgLWKhNrw
R-Ladies material on github: https://github.com/rladies/meetup-presentations_freiburg/tree/master/2021-02-17_tidydata_ZerotoShero ... https://www.youtube.com/watch?v=Ba7RwV_rmG0
4933497 Bytes