[SciPy-user] Convert a string list to array ?
Tue Feb 26 14:13:46 CST 2008
On Tue, Feb 26, 2008 at 8:50 PM, Stef Mientki <email@example.com> wrote:
> I have a string list that I want to convert to an integer array
> data_all = [ '12', '24' ]
> and now I would expect this would work, but it crashes:
> data_all = asarray ( data_all, dtype = int )
do really mean a "full blown crash", i.e. seg-fault ??
More information about the SciPy-user