I will be out of the office starting 12/11/2010 and will not return until
16/11/2010.
contact
Narinder Kumar 0208 738 8871 (narinder.ku...@ba.com)
Ian Sherrington (88149)
matthew page 0208 738 3519 (matthew.p...@ba.com)
Greg Lakin 0208 738 3469 (greg.t.la...@ba.com)
Christopher Bristow 208 738 6
Hello list,
I just started using python and I must say I enjoy it very much.
I do have an issue in which I hope to get some pointers to.
I have a string, which I need to split based on a delimiter. This I
know how to do. But what I cannot figure out is, take for example the
following:
"column 1
AWESOME - my life just got THAT much better.
The bug you suggested is exactly the problem that I was having... I
had looked through the bugs being tracked, but the title of that one
didn't jump out at me as something that would help. Thanks!
- Chris
P.S. For anyone reading this group who wants
I've been having a problem with PythonWin that seemed to start
completely spontaneously and I don't even know where to START to find
the answer. The only thing I can think of that marks the point
between "PythonWin works fine" and "PythonWin hardly every works fine"
was that I changed the size of
occurred first.
So here's the way to do it:
>>> import numarray
>>> a = numarray.array([1.6, 1.9, 2.1])
>>> rounded_a = numarray.around(a)
and rounded_a then equals ([2., 2., 2.])
- Chris
[EMAIL PROTECTED] (Chris P.) wrote in message news:<[EMAIL PROTECT
Hi. I have a very simple task to perform and I'm having a hard time
doing it.
Given an array called 'x' (created using the numarray library), is
there a single command that rounds each of its elements to the nearest
integer? I've already tried something like
>>> x_rounded = x.astype(numarray.Int