I have the following structure to my dataFrame:
Index: 1008 entries, Trial1.0 to Trial3.84 Data columns (total 5 columns): CHUNK_NAME 1008
& has higher precedence than ==. Write:
&
==
my_df.ix[(my_df.CHUNK_NAME==chunks[0])&(my_df.LAMBDA==lam_beta[0][0])] ^ ^ ^ ^