On Wed, Aug 14, 2013 at 2:12 PM, Ralf Gommers wrote:
>> with the Intel compilers, I have to supply --compiler and --fcompiler. Is
>> there any way to just do this in site config?
> Maybe pip has a way to supply that info but I've never
> bothered to look for it - python setup.py works just
On Wed, Aug 14, 2013 at 6:31 PM, Will Buckner wrote:
>
> Hey guys,
>
> I normally build and install packages with pip, as I like to keep my
> toolchain up to date with new releases, etc. I was happy to find out both
> numpy and scipy will honor a ~/.numpy-site.cfg, but, since I need to build
> wit
On Wed, Aug 14, 2013 at 10:35 AM, Mark Wiebe wrote:
Hi Mark, great to have you thinking (and coding) about this!
>> - Marc also commented that making datetime64 time-zone naive would be
>> "the easy way"
>
> I've experimented a little bit with one possibility in this direction within
> dynd. Bas
On Wed, Aug 14, 2013 at 9:00 AM, Chris Barker - NOAA Federal <
chris.bar...@noaa.gov> wrote:
> On Tue, Aug 13, 2013 at 5:54 PM, Charles R Harris
> wrote:
> > I wish it were. It seems unreasonably difficult to get constructive
> > feedback. Chris is pretty much the only one making the attempt and
Hey guys,
I normally build and install packages with pip, as I like to keep my
toolchain up to date with new releases, etc. I was happy to find out both
numpy and scipy will honor a ~/.numpy-site.cfg, but, since I need to build
with the Intel compilers, I have to supply --compiler and --fcompiler.
On Tue, Aug 13, 2013 at 5:54 PM, Charles R Harris
wrote:
> I wish it were. It seems unreasonably difficult to get constructive
> feedback. Chris is pretty much the only one making the attempt and that
> discussion petered out.
well, Nathaniel Smith chimed in, and Mark Weibe commented a bit (as he
Yeah, interp is what you want. What you want to do with the end values is
up to you, but could be done like this:
ind = where(logical_not(np.isnan(y)))[0]
y1 = interp(range(len(y)), ind, y[ind])
y1 = y1[ind[0]:ind[-1]]
On Wed, Aug 14, 2013 at 4:38 AM, Thomas Goebel <
thomas.goe...@th-nuernberg.
The example data/method you've provided doesn't do what you describe.
E.g., in your example data you have several 2x2 blocks of NaNs. According
to your description, these should not be replaced (as they all have a
neighbor that is also a NaN). Your example method, however, replaces them
- in fac
Hi,
What is the best way, if any, to "do something" whenever array elements
are changed in-place? For example, if I have a = arange(10), then
setting a[3] = 1 would, say, call a function automatically.
Thanks,
--
Hugo Gagnon
___
NumPy-Discussion mai
* On 13/08/2013 23:32, David Reed wrote:
> Hi Thomas,
>
> Your array is Nx6 do you want the nan values replace by the
> mean of the 2 adjacent elemets by row or by column?
Hi David,
i want it to be replaced by column.
I also found numpy.interp but this function replaces all nan
values at the b
10 matches
Mail list logo