Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-06 Thread Alex Rogozhnikov
hing to other points, but this is not simple. (I left %matplolib inline due to more appropriate rendering) Alex. 02.10.15 10:50, Kiko пишет: 2015-10-02 9:48 GMT+02:00 Kiko <kikocorre...@gmail.com <mailto:kikocorre...@gmail.com>>: 2015-10-02 9:38 GMT+02:00 Alex Rogozhnikov

[Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-01 Thread Alex Rogozhnikov
Hi, I have written some numpy tips and tricks I am using, which may be interesting to you. This is quite long reading, so I've splitted it into two parts: http://arogozhnikov.github.io/2015/09/29/NumpyTipsAndTricks1.html http://arogozhnikov.github.io/2015/09/30/NumpyTipsAndTricks2.html

Re: [Numpy-discussion] Fwd: Numpy for data manipulation

2015-10-02 Thread Alex Rogozhnikov
I would suggest %matplotlib notebook It will still have to a nice png, but you get an interactive figure when it is live. Amazing, thanks. I was using mpld3 for this. (for some strange reason I need to put %matplotlib notebook before each plot) The recommendation of inverting a

[Numpy-discussion] Weighted percentile / quantile

2016-03-01 Thread Alex Rogozhnikov
Hi, I know the topic was already raised a long ago: https://mail.scipy.org/pipermail/numpy-discussion/2010-July/051851.html There are also several questions on SO: http://stackoverflow.com/questions/20601872/numpy-or-scipy-to-calculate-weighted-median

Re: [Numpy-discussion] Weighted percentile / quantile

2016-03-02 Thread Alex Rogozhnikov
ting. Thanks for letting know, but I’ll definitely prefer implementation from SO (till numpy will support weights). Cheers, Alex > > -Joe > > > On Tue, Mar 1, 2016 at 6:03 PM, Alex Rogozhnikov > <alex.rogozhni...@yandex.ru> wrote: >> Hi, >> I know the topic was alr

Re: [Numpy-discussion] Fortran order in recarray.

2017-02-22 Thread Alex Rogozhnikov
m> написал(а): > > On Feb 21, 2017 3:24 PM, "Alex Rogozhnikov" <alex.rogozhni...@yandex.ru > <mailto:alex.rogozhni...@yandex.ru>> wrote: > Ah, got it. Thanks, Chris! > I thought recarray can be only one-dimensional (like tables with named > columns). &g

[Numpy-discussion] Fortran order in recarray.

2017-02-21 Thread Alex Rogozhnikov
Hi, a question about numpy.recarray: There is a parameter order in constructor https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.recarray.html , but it seems to have no effect: import numpy x =

Re: [Numpy-discussion] Fortran order in recarray.

2017-02-22 Thread Alex Rogozhnikov
. > 22 февр. 2017 г., в 20:55, Stephan Hoyer <sho...@gmail.com> написал(а): > > On Wed, Feb 22, 2017 at 8:57 AM, Alex Rogozhnikov <alex.rogozhni...@yandex.ru > <mailto:alex.rogozhni...@yandex.ru>> wrote: > Pandas may be nice, if you need a report, and you need get

Re: [Numpy-discussion] Fortran order in recarray.

2017-02-22 Thread Alex Rogozhnikov
> 22 февр. 2017 г., в 20:39, josef.p...@gmail.com написал(а): > > > > On Wed, Feb 22, 2017 at 11:57 AM, Alex Rogozhnikov > <alex.rogozhni...@yandex.ru <mailto:alex.rogozhni...@yandex.ru>> wrote: > Hi Matthew, > maybe it is not the best place to dis

Re: [Numpy-discussion] Fortran order in recarray.

2017-02-21 Thread Alex Rogozhnikov
) in a column-by-column way (and this is numpy, not pandas). Is there such a magic thing? Alex. > 22 февр. 2017 г., в 2:10, Chris Barker <chris.bar...@noaa.gov> написал(а): > > > > On Tue, Feb 21, 2017 at 3:05 PM, Alex Rogozhnikov <alex.rogozhni...@yandex.ru > <mai

Re: [Numpy-discussion] Fortran order in recarray.

2017-02-22 Thread Alex Rogozhnikov
ic websites": > > https://packaging.python.org/appveyor/ > <https://packaging.python.org/appveyor/> > > The main issue I would see from this, is the PyPi has my password stored on > my machine in a plain text file. I'm not sure whether there's a way to > p

Re: [Numpy-discussion] From Python to Numpy

2016-12-30 Thread Alex Rogozhnikov
Hi Nicolas, that's a very nice work! > Comments/questions/fixes/ideas are of course welcome. Boids example brought my attention too, some comments on it: - I find using complex numbers here very natural, this should speed up things and also shorten the code (rotating without einsum, etc.) -

Re: [Numpy-discussion] From Python to Numpy

2017-01-05 Thread Alex Rogozhnikov
> 31 дек. 2016 г., в 2:09, Nicolas P. Rougier <nicolas.roug...@inria.fr> > написал(а): > >> >> On 30 Dec 2016, at 20:36, Alex Rogozhnikov <alex.rogozhni...@yandex.ru> >> wrote: >> >> Hi Nicolas, >> that's a very nice work! >