Converting a list to a Numarray array?

S Timmins timmins at ltpmail.gsfc.nasa.gov
Mon Feb 24 12:22:13 EST 2003


How do I convert a list (read from a file) into a Numarray array so I
can start using all of the neat Numarray methods (such as reshape)??

Do you have to meticulously extract each list element (one at a time),
int or float it and then store it into its corresponding array
element?

    A new but excited python programmer

    Sidey Timmins




More information about the Python-list mailing list