Dinesh B Vadhia wrote:
I'm sorting a 1-d (NumPy) matrix array (a) and wanting the index
results (b).
I can't tell from your comments and code what you want. Please provide a
better explanation and give an example of input and output numbers. Also
I am not familiar with argsort.
This is what
wesley chun wrote:
michael's and david's book spends a bit more time
introducing the concepts of OOP/OOD more carefully and more though
If it had been half the price I'd have bought it for a strong exposition
of OO principles in Python. However at less than 700pp and c. £54 in the
UK it won't
Dinesh B Vadhia wrote:
I'm sorting a 1-d (NumPy) matrix array (a) and wanting the index results
(b). This is what I have:
b = a.argsort(0)
b = b+1
The one (1) is added to b so that there isn't a zero index element. Is
there a more elegant way to do this?
b = a.argsort(0) + 1
?
It look great.. but being a student I can't afford such a high priced
item. I guess I will have to wait for the used copies to show up on
amazon :).
Danyelle
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Danyelle Gragsone wrote:
It look great.. but being a student I can't afford such a high priced
item. I guess I will have to wait for the used copies to show up on
amazon :).
FWIW this book is available to anyone with a .edu email address for
$71.53 plus shipping, from
I wonder what schools offer python as a course. Sadly all the
colleges here offer only perl.
:(
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Thursday November 8, 2007, bhaaluu wrote:
I asked if the source code for the textbook is available for download?
One of the best ways to judge the quality of a textbook is by the example
source code. I also asked if a sample chapter was available to read?
Sometimes an
Michael H. Goldwasser [EMAIL PROTECTED] wrote
to suffer through it). But for others, studying on their own,
being able
to read a sample chapter and look at the example source code
might
be the stimulus to buy the book
Thats a great idea. I'll contact our publisher today so that
Thank-you! It is important for us to avoid potential code conflicts and so
we'll standardize on the import package name syntax.
On a related note:
We are using both NumPy and SciPy. Consider the example y = Ax where A is a
sparse matrix. If A is qualified as a scipy object then do y and x
This is why I am going for programming instead of just CS. I am a very
hands on person.. although I know theory is good.. I just think it
needs to be evened out a bit :D.
___
Tutor maillist - Tutor@python.org
Chris Calloway [EMAIL PROTECTED] wrote
teach languages. Teaching languages is frowned upon in some computer
science departments under the logic that if you belong in a computer
science class, you'd better show up for class already knowing
something
as easy to grasp as an implementation
I wonder what schools offer python as a course. Sadly all the
colleges here offer only perl.
Danyelle's question brings up an issue i have, and that is that
courses in colleges are typically computer science courses, at least
at the university level. there really aren't any programming
[EMAIL PROTECTED] wrote on 11/08/2007 05:19:59 PM:
Chris Calloway [EMAIL PROTECTED] wrote
teach languages. Teaching languages is frowned upon in some computer
science departments under the logic that if you belong in a computer
science class, you'd better show up for class already
apologies... meant to click the save now button but inadvertently
hit send instead...
On 11/8/07, bhaaluu [EMAIL PROTECTED] wrote:
Another way to judge how the book is, is by reading the posts the author
sends to THIS list in order to help people. Mr. Chun and Mr. Gauld are
two authors who
Danyelle Gragsone wrote:
I wonder what schools offer python as a course.
It has been rather widely publicized of late that MIT this year switched
all their incoming computer science and electrical engineering students
to Python (from Lisp) as their introductory programming language.
They use
15 matches
Mail list logo