Hi,
I downloaded the Numpy reference guide in HTML format from the following
link:
http://docs.scipy.org/doc/
My intension is to use this documentation in offline mode.
But, in offline mode, I am unable to search the document using quick
search option.
(However, I can search the same document
On 15 November 2010 12:02, srinivas zinka zink...@gmail.com wrote:
I downloaded the Numpy reference guide in HTML format from the following
link:
http://docs.scipy.org/doc/
My intension is to use this documentation in offline mode.
But, in offline mode, I am unable to search the document
Pierre GM writes:
On Nov 14, 2010, at 9:30 PM, Lluís wrote:
This will work as long as 'first_values' is assured to always contain
valid data and as long as its indexes are equivalent to those in
converters (which I simply haven't checked).
I beat you to it, actually ;)
Argh! :)
Check
On Nov 15, 2010, at 1:07 PM, Lluís wrote:
Pierre GM writes:
On Nov 14, 2010, at 9:30 PM, Lluís wrote:
This will work as long as 'first_values' is assured to always contain
valid data and as long as its indexes are equivalent to those in
converters (which I simply haven't checked).
I
On Mon, Nov 15, 2010 at 06:15, srinivas zinka zink...@gmail.com wrote:
Thank you for the reply.
I just downloaded the following zip file:
http://docs.scipy.org/doc/numpy-1.5.x/numpy-html.zip
When I try to search for some thing (e.g., array), it keeps on
searching (see the attached file).
At
Hi, what is the best way to print (to a file or to stdout) formatted
numerical values? Analogously to C's printf(%d %g,x,y) etc?
Numpy Documentation only discusses input *from* a file, or output of
entire arrays. (np.savetxt()) I just want tab or space-delimited output of
selected formatted
There is more than one way to form the same slice. For example, a[:2]
and a[0:2] and a[0:2:] pass slice objects to getitem with the same
start, stop and step. Is there any way to get a hold of the exact
character sequence the user used to form the slice? That is, I'd like
to know if the user
On 15 November 2010 15:32, pv+nu...@math.duke.edu wrote:
Hi, what is the best way to print (to a file or to stdout) formatted
numerical values? Analogously to C's printf(%d %g,x,y) etc?
Use the .tofile() method:
numpy.random.random(5).tofile(sys.stdout, ' ', '%s')
0.230466435867
On Mon, Nov 15, 2010 at 08:32, pv+nu...@math.duke.edu wrote:
Hi, what is the best way to print (to a file or to stdout) formatted
numerical values? Analogously to C's printf(%d %g,x,y) etc?
Numpy Documentation only discusses input *from* a file, or output of
entire arrays. (np.savetxt()) I
pv+numpy at math.duke.edu writes:
Hi, what is the best way to print (to a file or to stdout) formatted
numerical values? Analogously to C's printf(%d %g,x,y) etc?
For stdout you can simply do:
In [26]: w, x, y, z = np.randint(0,100,4)
In [27]: type(w)
Out[27]: type 'numpy.int32'
In
Is there a convention for dealing with NaN and Inf? I've found that
trusting the default behavior is a very bad idea:
---
from numpy import *
x = zeros((5,7))
x[:,3:] = nan
x[:,-1] = inf
savetxt('problem_array.txt',x,delimiter='\t')
x2 =
But, I have no problem searching python HTML documentation which is also
created by Sphinx.
I don't know much about JavaScript.
But, don't they both use the same JavaScript?
On Mon, Nov 15, 2010 at 11:02 PM, Robert Kern robert.k...@gmail.com wrote:
On Mon, Nov 15, 2010 at 06:15, srinivas
On Nov 15, 2:00 am, Dag Sverre Seljebotn wrote:
On 11/15/2010 06:23 AM, Felix wrote:
is there any workaround or fix for the problem described in Ticket
1504?
http://projects.scipy.org/numpy/ticket/1504
You can try to see if sys.setdlopenflags works for you, it does for me:
On 11/15/2010 11:48 AM, Felix wrote:
On Nov 15, 2:00 am, Dag Sverre Seljebotn wrote:
On 11/15/2010 06:23 AM, Felix wrote:
is there any workaround or fix for the problem described in Ticket
1504?
http://projects.scipy.org/numpy/ticket/1504
You can try to see if sys.setdlopenflags works for
On 11/15/10 11:35 AM, Pauli Virtanen wrote:
One can argue that this is a bug in Python or Numpy:
%d % numpy.int16(1)
{0:d}.format(numpy.int16(1))
To make it work via changes in Numpy: scalars should implement a
__format__ method. Two choices: either we parse the formatting
On Sun, Nov 14, 2010 at 1:29 PM, Mark Wiebe mwwi...@gmail.com wrote:
On Sun, Nov 14, 2010 at 12:21 PM, Charles R Harris
charlesr.har...@gmail.com wrote:
Good point. I was trying to keep the fpeclear in front of the code to be
tested.
Yeah, I hadn't considered that possibility too
Hi,
I'm trying to use numpy.testing.Tester to run tests for another, numpy-based
project. It works beautifully, except for the fact that I can't seem to
silence output (i.e. NOSE_NOCAPTURE/--nocapture/-s). I've tried to call test
with extra_argv=['-s'] and also tried subclassing to muck with
On Nov 15, 2010, at 11:43 PM, Benjamin Root wrote:
Hello,
I was using append_fields() in numpy.lib.recfunctions when I discovered a
slight logic mistake in handling the dtypes argument.
The code first checks to see if dtypes is None. If so, it then guesses the
dtype info from the
On Mon, Nov 15, 2010 at 4:57 PM, Pierre GM pgmdevl...@gmail.com wrote:
On Nov 15, 2010, at 11:43 PM, Benjamin Root wrote:
Hello,
I was using append_fields() in numpy.lib.recfunctions when I discovered a
slight logic mistake in handling the dtypes argument.
The code first checks to
Bruce Southey bsouthey at gmail.com writes:
On 11/15/2010 11:48 AM, Felix wrote:
On Nov 15, 2:00 am, Dag Sverre Seljebotn wrote:
On 11/15/2010 06:23 AM, Felix wrote:
is there any workaround or fix for the problem described in Ticket
1504?
http://projects.scipy.org/numpy/ticket/1504
On 15 November 2010 14:15, srinivas zinka zink...@gmail.com wrote:
Thank you for the reply.
I just downloaded the following zip file:
http://docs.scipy.org/doc/numpy-1.5.x/numpy-html.zip
When I try to search for some thing (e.g., array), it keeps on
searching (see the attached file).
At the
21 matches
Mail list logo