#11334: Update numpy to 1.6
------------------------+---------------------------------------------------
Reporter: jason | Owner: tbd
Type: task | Status: new
Priority: major | Milestone: sage-4.8
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by fbissey):
Just to add a bit of info. Same python and ipython
{{{
ipython
Python 2.7.2 (default, Oct 28 2011, 11:36:16)
Type "copyright", "credits" or "license" for more information.
IPython 0.10.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import numpy
In [2]: a = numpy.linspace(0,2,6)
In [3]: a
Out[3]: array([ 0. , 0.4, 0.8, 1.2, 1.6, 2. ])
In [4]: ceil(a)
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)
/home/fbissey/<ipython console> in <module>()
NameError: name 'ceil' is not defined
In [5]: numpy.ceil(a)
Out[5]: array([ 0., 1., 1., 2., 2., 2.])
}}}
So it works in ipython but we don't have the dtype=object attached to the
array. Anyone knows what that means actually?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11334#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.