Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/cellprofiler/modules/calculatemath.py   CellProfiler(Download)
                value = value.copy()
                # ensure that the data can be changed in-place by floating point ops
                value = value.astype(np.float)
 
            if isinstance(value, str) or isinstance(value, unicode):

src/o/p/OpenMDAO-Framework-HEAD/openmdao.main/src/openmdao/main/expreval.py   OpenMDAO-Framework(Download)
 
            if isinstance(replace_val, ndarray):
                replace_val = replace_val.astype(numpy.complex)
            else:
                replace_val = float(replace_val)