Custom data type in a matrix.
Gaz
gaz082 at gmail.com
Sat Apr 22 23:19:01 EDT 2006
Hi guys. I've been lookig for this in the numpy pdf manual, in this
group and on google, but i could not get an answer...
Is there a way to create a custom data type (eg: Name: string(30), Age:
int(2), married: boolean, etc) and then use that custom data in a
matrix? Actually, this is a two question question :P
Im doing a simple hex based game and i need a way to store every hex
property (color, owner,x, y, etc) in a matrix's "cell", representing
each cell a hex.
Thank you.
More information about the Python-list
mailing list