AttributeError: 'cvxopt.base.matrix' object has no attribute 'astype' code example
Example: AttributeError: 'list' object has no attribute 'dtypes'
data = np.array(data, dtype=np.float32)
data = np.array(data, dtype=np.float32)