AttributeError: 'list' object has no attribute 'numpy' site:stackoverflow.com code example
Example: AttributeError: 'list' object has no attribute 'dtypes'
data = np.array(data, dtype=np.float32)
data = np.array(data, dtype=np.float32)