[Numpy-discussion] Memmap + resize
luigi curzi
luigi_curzi at yahoo.it
Mon Jun 22 04:24:08 EDT 2009
Il giorno Mon, 22 Jun 2009 04:24:43 +0200
luigi curzi <luigi_curzi at yahoo.it> ha scritto:
> hello,
> is it possible to resize in place a memmap array?
>
maybe it wasn't clear, i mean:
i have a numpy array memory mapped with memmap, when i try to do
array.resize(..., refcheck=0)
i receive this error:
ValueError: cannot resize this array: it does not own its data
in fact array.flags says OWNDATA = False.
so, my question.
> thanks in advice
> Luigi
--
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Io sono
lo sbaglio, il momento di confusione, l'inopportuno
Non sono niente.
Non sarò mai niente.
Non posso volere d'essere niente.
A parte questo, ho in me tutti i sogni del mondo.
F. Pessoa
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
More information about the NumPy-Discussion
mailing list