intent: selecting across multiple columns with python pandas?
rewritten_intent: select all rows from pandas DataFrame 'df' where the value in column 'A' is greater than 1 or less than -1 in column 'B'.
snippet: df[(df['A'] > 1) | (df['B'] < -1)]