Array indexing and data selection, NumPy Developers, 2023 - This official guide explains how to select data from arrays using various methods, including boolean indexing which relies on logical operations.
Guide to NumPy, Travis E. Oliphant, 2006 (Trelgol Publishing) - Authored by NumPy's creator, this foundational guide provides a deep understanding of NumPy arrays and element-wise operations, including logical comparisons.