{"id":12098,"date":"2022-03-20T02:22:14","date_gmt":"2022-03-20T06:22:14","guid":{"rendered":"http:\/\/nycphantom.com\/journal\/?p=12098"},"modified":"2022-03-20T02:22:16","modified_gmt":"2022-03-20T06:22:16","slug":"logical-operators-for-boolean-indexing-in-pandas","status":"publish","type":"post","link":"http:\/\/nycphantom.com\/journal\/?p=12098","title":{"rendered":"Logical operators for Boolean indexing in Pandas"},"content":{"rendered":"\n<p>Boolean Indexing - passing a series of list that satisfy the specified boolean condition.<\/p>\n\n\n\n<p>The operator &amp;, | instead of AND, OR, are the only ones that work with boolean indexing here because it's an <strong><a href=\"https:\/\/stackoverflow.com\/questions\/21415661\/logical-operators-for-boolean-indexing-in-pandas\" target=\"_blank\" rel=\"noreferrer noopener\">element-wise<\/a><\/strong> (like bit-wise operators) operator that is needed for the result of a series of data.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Boolean Indexing - passing a series of list that satisfy the specified boolean condition. The operator &amp;, | instead of AND, OR, are the only ones that work with boolean indexing here because it's an element-wise (like bit-wise operators) operator &hellip; <a href=\"http:\/\/nycphantom.com\/journal\/?p=12098\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-12098","post","type-post","status-publish","format-standard","hentry","category-technical"],"_links":{"self":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/12098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12098"}],"version-history":[{"count":1,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/12098\/revisions"}],"predecessor-version":[{"id":12099,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=\/wp\/v2\/posts\/12098\/revisions\/12099"}],"wp:attachment":[{"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12098"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nycphantom.com\/journal\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}