Try setting emailconditions like so:

emailconditions = [
dfFinal['EmailC'].notna(),
dfFinal['EmailC'].isna() & dfFinal['EmailB'].notna(),
dfFinal['EmailC'].isna() & dfFinal['EmailB'].isna()]

Key point is to use notna() instead of is not None and isna() instead of is None.

Answer from user17242583 on Stack Overflow
🌐
NumPy
numpy.org › devdocs › reference › generated › numpy.select.html
numpy.select — NumPy v2.6.dev0 Manual
Beginning with an array of integers ... >>> np.select(condlist, choicelist, 42) array([ 0, -1, -2, 42, 16, 25]) When multiple conditions are satisfied, the first one encountered in condlist is used....
🌐
NumPy
numpy.org › doc › stable › reference › generated › numpy.select.html
numpy.select — NumPy v2.5 Manual
Beginning with an array of integers ... >>> np.select(condlist, choicelist, 42) array([ 0, -1, -2, 42, 16, 25]) When multiple conditions are satisfied, the first one encountered in condlist is used....
🌐
w3resource
w3resource.com › python-exercises › numpy › python-numpy-exercise-92.php
NumPy: Select indices satisfying multiple conditions in a NumPy array - w3resource
August 29, 2025 - b[(100 < a) & (a < 110)]: Use boolean indexing to select elements from array 'b' where the corresponding elements in array 'a' satisfy the condition (greater than 100 and less than 110). ... Write a NumPy program to select indices of an array that satisfy multiple conditions using np.where and logical operators.
🌐
NumPy
numpy.org › doc › 2.1 › reference › generated › numpy.select.html
numpy.select — NumPy v2.1 Manual
Beginning with an array of integers ... x**2] >>> np.select(condlist, choicelist, 42) array([ 0, 1, 2, 42, 16, 25]) When multiple conditions are satisfied, the first one encountered in condlist is used....
🌐
NumPy
numpy.org › doc › 2.0 › reference › generated › numpy.select.html
numpy.select — NumPy v2.0 Manual
Beginning with an array of integers ... x**2] >>> np.select(condlist, choicelist, 42) array([ 0, 1, 2, 42, 16, 25]) When multiple conditions are satisfied, the first one encountered in condlist is used....
🌐
NumPy
numpy.org › doc › 2.3 › reference › generated › numpy.select.html
numpy.select — NumPy v2.3 Manual
Beginning with an array of integers ... >>> np.select(condlist, choicelist, 42) array([ 0, -1, -2, 42, 16, 25]) When multiple conditions are satisfied, the first one encountered in condlist is used....
🌐
NumPy
numpy.org › doc › stable › reference › generated › numpy.select.html
numpy.select — NumPy v2.4 Manual
Beginning with an array of integers ... >>> np.select(condlist, choicelist, 42) array([ 0, -1, -2, 42, 16, 25]) When multiple conditions are satisfied, the first one encountered in condlist is used....
Find elsewhere
🌐
Medium
satnamsingh99.medium.com › np-select-vs-np-where-how-to-choose-the-right-function-for-your-numpy-arrays-a0093a96b1d9
np.select vs. np.where: How to Choose the Right Function for Your NumPy Arrays | by Satnam Singh | Medium
February 20, 2023 - For example, if we have multiple conditions that involve multiple arrays, np.select is the function to use. ... import numpy as np arr1 = np.array([1, 2, 3, 4, 5]) arr2 = np.array([6, 7, 8, 9, 10]) conditions = [arr1 > 2, arr2 < 9] choices = ...
🌐
GeeksforGeeks
geeksforgeeks.org › python › numpy-select-function-python
numpy.select() function - Python - GeeksforGeeks
July 12, 2025 - The numpy.select() function is used to construct an array by selecting elements from a list of choices based on multiple conditions.
🌐
NumPy
numpy.org › doc › 1.21 › reference › generated › numpy.select.html
numpy.select — NumPy v1.21 Manual
numpy.select(condlist, choicelist, ... determine from which array in choicelist the output elements are taken. When multiple conditions are satisfied, the first one encountered in condlist is used....
🌐
Spark By {Examples}
sparkbyexamples.com › home › python › numpy where() multiple conditions
NumPy where() Multiple Conditions - Spark By {Examples}
March 27, 2024 - This function returns the indices where either condition1 or condition2 is true. Finally, the elements corresponding to the selected indices are extracted from the original array arr and stored in the arr2 array. import numpy as np # Create a numpy array arr = np.array([5, 10, 15, 20, 25]) # Multiple conditions using | operator # Use numpy.where() function arr2 = arr[np.where((arr >5) | (arr % 2 == 0))] print("Get selected array elements:\n", arr2) # Output: # Get selected array elements: # [10 15 20 25]
🌐
Medium
medium.com › @amit25173 › how-numpy-select-works-f11ed0de629b
How numpy.select() Works?. If you think you need to spend $2,000… | by Amit Yadav | Medium
February 8, 2025 - It's a super-efficient function that lets you apply multiple conditions to your array and select corresponding values based on those conditions—much faster than a traditional loop.
🌐
Delft Stack
delftstack.com › home › howto › numpy › python numpy.where multiple conditions
numpy.where() Multiple Conditions | Delft Stack
January 30, 2023 - We can specify multiple conditions inside the numpy.where() function by enclosing each condition inside a pair of parenthesis and using a & operator between them. import numpy as np values = np.array([1, 2, 3, 4, 5]) result = values[np.where((values ...
🌐
Medium
medium.com › analytics-vidhya › demystifying-np-where-and-np-select-76e3ca49e316
Demystifying np.where and np.select | by Siddharth Kshirsagar | Analytics Vidhya | Medium
January 18, 2024 - numpy.select(condlist, choicelist, default=0) condlist are list of conditions that determine from which array in the choice list the output elements are taken. If multiple conditions are satisfied the first one in condlist is used. choicelist ...
🌐
NumPy
numpy.org › doc › 1.25 › reference › generated › numpy.select.html
numpy.select — NumPy v1.25 Manual
The list of conditions which determine from which array in choicelist the output elements are taken. When multiple conditions are satisfied, the first one encountered in condlist is used.
🌐
NumPy
numpy.org › doc › 1.18 › reference › generated › numpy.select.html
numpy.select — NumPy v1.18 Manual
The list of conditions which determine from which array in choicelist the output elements are taken. When multiple conditions are satisfied, the first one encountered in condlist is used.