(data, index=False)
Force 32-bit floating point numbers for data.
Force 32-bit floating point numbers for data.
Force 32 - bit floating point numbers for data .
def convert_data(data, index=False):
        """Force 32-bit floating point numbers for data."""
        if not index:
            return enforce_dtype(data, np.float32)
        else:
            return np.array(data, np.int32)
def convert_data ( data , index = False ) : if not index : return enforce_dtype ( data , np . float32 ) else : return np . array ( data , np . int32 )