I'm new to python and numpy and I wanted to create an array with mixed data types but I get this error :
>>> m = np.zeros((5,10))
>>> m[0,0] = 'e'
Traceback (most recent call last):
File "<pyshell#17>", line 1, in <module>
m[0,0] = 'e'
ValueError: could not convert string to float: e
I'm using numpy beacuse it's easier to implement bigger sized arrays and edit them. I tried to change the data type of the array but I couldn't find any suitable one.
dtypeparameter. See this