[SciPy-user] remove duplicate points...

Stéfan van der Walt stefan at sun.ac.za
Wed Apr 23 13:02:59 EDT 2008


2008/4/23 Pierre GM <pgmdevlist at gmail.com>:
>  The names don't matter, actually, they're just placeholders in our case.

You can leave them out if you want:

In [5]: np.dtype([('',int),('',int)])
Out[5]: dtype([('f0', '<i4'), ('f1', '<i4')])

Cheers
Stéfan



More information about the SciPy-User mailing list