df multiple conditions code example
Example 1: how to slicing dataframe using two conditions
# when you wrap conditions in parantheses, you give order
# you do those in brackets first before 'and'
# AND
movies[(movies.duration >= 200) & (movies.genre == 'Drama')]
Example 2: ifdef multiple conditions
#if defined(CONDITION1) || defined(CONDITION2)