Calculations with Null Values (Numpy Arrays)

I get a syntax error from python numpy when the SSC2Area & SSC3Area values are blank. I have them checked as allow empty; any idea on how to pass a null value using the default value or otherwise have numpy ignore these if they are blank in the array?

max( ( (std( array(( [Std1Area] , [Std2Area] , [Std3Area] , [Std4Area], [Std5Area] , [SSC1Area], [SSC2Area], [SSC3Area] )), ddof=1) / mean( array(( [Std1Area] , [Std2Area] , [Std3Area] , [Std4Area], [Std5Area] , [SSC1Area], [SSC2Area], [SSC3Area] )) )) * 100) + ( (std( array(( [Std1Area] , [Std2Area] , [Std3Area] , [Std4Area], [Std5Area] )), ddof=1) / mean( array(( [Std1Area] , [Std2Area] , [Std3Area] , [Std4Area], [Std5Area] )) )) * 100) )

Ended up having to create a separate python module and storing it in /senaite/miniconda2/envs/senaite/lib/python2.7/site-packages

Followed this guyd: Analysis Calculations ยท SENAITE