Conditional operations on

Опубликовано: 02 Март 2026
на канале: John Kitchin
1,752
39

You can do conditional operations on numpy arrays in #Python. You can, for example, extract parts of an array that meet some condition, operate on parts of an array that meet some condition, construct an array from other arrays based on a condition, etc. This video will show you several ways to approach this.

Conditional array operations are somewhat different than the conventional conditional statements that you can use to control the execution of Python code that I have discussed in these previous videos.

Comparison operators in Python ::    • pycse - Comparison operators in #Python  
Logical operators in Python ::    • pycse - Logical operators in Python  
Membership operators in Python ::    • pycse - membership operators in #python  
Conditional statements in Python ::    • pycse - conditional statements in Python  

You can learn more about conditional statements in Python at https://pointbreezepubs.gumroad.com/l....