Top "Multiple-conditions" questions

Filter multiple values on a string column in dplyr

I have a data.frame with character data in one of the columns. I would like to filter multiple options …

r dplyr string-matching multiple-conditions
LINQ Joining in C# with multiple conditions

I have a LINQ Joining statement in C# with multiple conditions. var possibleSegments = from epl in eventPotentialLegs join sd in …

c# linq join multiple-conditions
Multiple 'or' condition in Python

I have a little code issue and it works with IDLE and not with Eclipse, can I write this : if …

python conditional-statements multiple-conditions
What is better: multiple "if" statements or one "if" with multiple conditions?

For my work I have to develop a small Java application that parses very large XML files (~300k lines) to …

java optimization if-statement multiple-conditions
XPATH Multiple Element Filters

I have the following sample XML structure: <SavingAccounts> <SavingAccount> <ServiceOnline>yes</ServiceOnline> &…

xpath multiple-conditions
Scala filter on two conditions

I would like to filter my data set on two conditions at once. Is it possible? I want something like …

arrays scala filter multiple-conditions
WHERE clause with nested multiple conditions

I want to retrieve data with conditions in WHERE clause. Here is my table something look like: Name Location Age …

sql sql-server case where-clause multiple-conditions
How to sum rows based on multiple conditions - R?

I have a dataframe that contains a plot ID (plotID), tree species code (species), and a cover value (cover). You …

r sum dataframe summary multiple-conditions
Python 'while' with two conditions: "and" or "or"

This is a very simple dice roll program that keeps rolling two dice until it gets double sixes. So my …

python while-loop boolean multiple-conditions
How do I create a new column based on multiple conditions from multiple columns?

I'm trying add a new column to a data frame based on several conditions from other columns. I have the …

r if-statement dataframe calculated-columns multiple-conditions