2011/9/27 Olivier Delalleau
> 2011/9/27 Zbigniew Jędrzejewski-Szmek
>
>> On 09/22/2011 12:09 PM, Pauli Virtanen wrote:
>> > Thu, 22 Sep 2011 08:12:12 +0200, Han Genuit wrote:
>> > [clip]
>> >> I also noticed that it does strange things when using a list:
>> >>
>> > c[[True, False, True]]
>>
2011/9/27 Zbigniew Jędrzejewski-Szmek
> On 09/22/2011 12:09 PM, Pauli Virtanen wrote:
> > Thu, 22 Sep 2011 08:12:12 +0200, Han Genuit wrote:
> > [clip]
> >> I also noticed that it does strange things when using a list:
> >>
> > c[[True, False, True]]
> >> array([[3, 4, 5],
> >> [0, 1,
On 9/27/11 2:14 AM, oc-spam66 wrote:
>> if you want to write to a string, why not use .tostring()?
>
> Because A.tostring() returns the binary data, while I would like the text
> representation.
> More precisely, I would like to use A.tofile(sep="\t").
I see -- I've always thought mingling bina
What is the status of this proposal?
On Wed, Jun 22, 2011 at 6:56 PM, Mark Wiebe wrote:
> On Wed, Jun 22, 2011 at 4:57 PM, Darren Dale wrote:
>>
>> On Wed, Jun 22, 2011 at 1:31 PM, Mark Wiebe wrote:
>> > On Wed, Jun 22, 2011 at 7:34 AM, Lluís wrote:
>> >>
>> >> Darren Dale writes:
>> >>
>> >>
On 09/22/2011 12:09 PM, Pauli Virtanen wrote:
> Thu, 22 Sep 2011 08:12:12 +0200, Han Genuit wrote:
> [clip]
>> I also noticed that it does strange things when using a list:
>>
> c[[True, False, True]]
>> array([[3, 4, 5],
>> [0, 1, 2],
>> [3, 4, 5]])
>
> It casts the list with b
Ah, I found a workaround: savetxt() can work with a StringIO
-> savetxt(file_buffer, A)
This is only a workaround. I still think A.tofile() should be capable of
writing into a StringIO.
--
O.C.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy
27.09.2011 10:40, Jaroslav Hajek kirjoitti:
> I've been looking into options to do fast low-rank dense matrix
> factorization updates (aka Matlab's qrupdate) with NumPy, but couldn't
> find basically anything. Did I miss something?
At the moment, we do not have equivalents to these routines.
Howe
> if you want to write to a string, why not use .tostring()?
Because A.tostring() returns the binary data, while I would like the text
representation.
More precisely, I would like to use A.tofile(sep="\t").
> Yes, this is a known shortcoming of .tofile().
Is it worth filing a bug report ?
--
hello,
I've been looking into options to do fast low-rank dense matrix
factorization updates (aka Matlab's qrupdate) with NumPy, but couldn't
find basically anything. Did I miss something?
A few years ago I wrote the qrupdate library
http://sourceforge.net/projects/qrupdate/, and subsequently wra