This code works for me on numpy 1.6.2 but on 1.7.1 I get an exception, because in the new version numpy.core._internal._index_fields calls ary.view() and this doesn't work on object arrays. import ...
ๅœจ numpy ไธญ๏ผŒๆ•ฐ็ป„ๅฏ่ƒฝๅ…ทๆœ‰ๅŒ…ๅซๅญ—ๆฎต็š„ๆ•ฐๆฎ็ฑปๅž‹๏ผŒ็ฑปไผผไบŽ็”ตๅญ่กจๆ ผไธญ็š„ๅˆ—ใ€‚ไธ€ไธชไพ‹ๅญๆ˜ฏ[(a, int), (b, float ...