Pandas bitwise filtering gives different results with and without parenthesis

后端 未结 0 577
-上瘾入骨i
-上瘾入骨i 2021-01-23 05:19

I have a pandas dataframe, and I want to filter out some records that don\'t satisfy certain criteria:

cond1=df[\'ap_lo\'] <= df[\'ap_hi\']
cond2=df[\'height\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题