NumPy 1.5 Beginner's Guide and over one million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £6.85 Amazon.co.uk Gift Card
NumPy 1.5 Beginner's Guide
 
 
Start reading NumPy 1.5 Beginner's Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

NumPy 1.5 Beginner's Guide [Paperback]

Ivan Idris

RRP: £27.99
Price: £26.59 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £1.40 (5%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want guaranteed delivery by Thursday, June 7? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £12.95  
Paperback £26.59  
Trade In this Item for up to £6.85
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in NumPy 1.5 Beginner's Guide for an Amazon.co.uk gift card of up to £6.85, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Customers buy this book with Matplotlib for Python Developers £27.99

NumPy 1.5 Beginner's Guide + Matplotlib for Python Developers
Price For Both: £54.58

Show availability and delivery details



Product details


More About the Author

Ivan Idris
Discover books, learn about writers, and more.

Visit Amazon's Ivan Idris Page

Product Description

Product Description

In today's world of science and technology, the hype is all about speed and flexibility. When it comes to scientific computing, NumPy is on the top of the list. NumPy is the fundamental package needed for scientific computing with Python. NumPy will give you both speed and high productivity. Save thousands of dollars on expensive software, while keeping all the flexibility and power of your favourite programming language.

NumPy 1.5 Beginner's Guide will teach you about NumPy from scratch. It includes everything from installation, functions, matrices, and modules to testing, all explained with appropriate examples.

Numpy 1.5 Beginner's Guide will teach you about installing and using NumPy and related concepts.

This book will give you a solid foundation in NumPy arrays and universal functions. At the end of the book, we will explore related scientific computing projects such as Matplotlib for plotting and the SciPy project through examples.

NumPy 1.5 Beginner's Guide will help you be productive with NumPy and write clean and fast code.

About the Author

Ivan Idris


Ivan Idris has a degree in Experimental Physics and several certifications (SCJP, SCWCD and other). His graduation thesis had a strong emphasis on Applied Computer Science. After graduating Ivan worked for several companies as a Java developer, Datawarehouse developer and Test Analyst.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(1)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  7 reviews
3 of 3 people found the following review helpful
A good starting point for newbie number-crunchers 9 Jan 2012
By hardcoreUFO - Published on Amazon.com
Format:Paperback
Due primarily to their relative popularity, there are far more books available for R than for Python, at least related to using the respective languages for data analysis and other numerical applications. There are fewer yet related to the various third-party packages that are available for Python. So, it was with more than a little excitement that I tracked down a copy of the NumPy 1.5 Beginner's Guide, authored by Ivan Idris.

One of the unavoidable issues with writing books about software is that for even moderately well-maintained packages, the release version has changed by the time the book is published; this is the case for Idris' book, as NumPy has reached version 1.6 (and many users work from the current codebase on GitHub). Don't let this deter you, however, as the major functionality changes little from version to version, particularly for point releases.

The book begins with thorough, visual installation instructions for the three major platforms (sorry, OS/2 users!). Though the NumPy website includes decent install instructions, this is a welcome chapter, particularly for new users, because it is well-organized and highly visual. Depending on your setup, the instructions for building from source may not be sufficient, at least on OS X, where some configuration is sometimes necessary depending on which version of Xcode (and hence, compilers) is installed.

In addition to installation guidance, the author reveals several avenues for 3rd-party help with NumPy, which is useful since one inevitably outstrips any book's ability to answer all one's questions. Its a good choice of recommended resources, too: mailing lists, IRC, and critically, Stack Overflow.

The catch-phrase of the Packt Beginner's Guide series is Learn by doing: less theory, more results. True to its word, this particular guide is extremely hands on, comprised mostly of step-by-step "Time for Action" recipes for performing particular atomic tasks using NumPy within Python. For the most part, this philosophy works to the user's benefit by providing a ton of useful guides to the core functionality of NumPy. However, in places this causes suffering due to lack of context. For example, what is a Bessel function, and why would I need it? How do I interpret the plot I just generated? To me, you could provide some background without fear of being mistaken for a textbook.

Though the book is technically a beginner's guide, it is stated up front that knowledge of Python is assumed. This is evident early: the reader is taken from the installation guide kiddie pool directly to the deep end of vector operations. The early chapters illustrate how NumPy works closely with other scientific programming packages, most notably Matplotlib and iPython. This includes a very condensed iPython tutorial, which is a boon because everyone doing scientific computing with Python should be using iPython as the default shell.

The early chapters do a solid job of covering NumPy fundamentals, and by fundamentals we are, of course, talking about ndarrays. The introduction to array data types jumps right in to creating custom types, a topic that is truly useful for those of us applying NumPy to real data. Overall, the range of array methods provided is deep relative to other resources I have encountered.

One of the nice things about the book is that you are almost guaranteed to learn something new, almost irrespective of your level of expertise. For as long as I've been using NumPy, I tend use a particular subset of its functionality, related to the sort of work I do. This book is more comprehensive than that. Who knew you could truncate the values of an array with ndarray.clip()? Not me. Some of the included workflows should be really useful for a lot of users, such as inserting arbitrary values into a sorted array such that it remains sorted.

A big take-home lesson from the book that is likely to impress the novice user is the manifold advantages of working with arrays, rather than looping over lists, be it by using ufuncs or vectorizing scalar functions. Its not only a performance boon, but from a development standpoint its much easier to read and to maintain.

My only pedantic criticism of the book is the use of some rather awkward English in places: "Get into Terms with Commonly Used Functions" doesn't sound quite right, and "Have a go hero" is an odd little phrase used to encourage hands-on programming that seems to have come straight from "Go Diego Go". This, along with a few function usage mistakes would suggest that another round of edits was in order.

Idris makes heavy use of financial applications for his examples. This is fine, I suppose, but it may be heavy going for those from other fields, given the finance's tendency to use specialized terminology. A broader range of motivating examples would have both shown the breadth of NumPy's potential application and helped the book appeal to a wider audience.

Though full coverage of a package so jammed with functionality as NumPy is impossible, this guide covers a reasonable cross section: Users are introduced to calculating and drawing waveforms, fitting polynomial functions, matrix functions and manipulation, statistical distributions, sorting algorithns and (you guessed it) financial functions.

It was very nice (particularly given the aforementioned constraints) to see a testing chapter, though it is just an overview of the key testing functions. This is a good example of where a little background would have made a big difference--new users are rarely able to appreciate the importance of testing, particularly unit testing, so a little motivation is required to make the concept stick, and to ensure that new NumPy users put them into practice.

Despite my criticisms, I would recommend The NumPy 1.5 Beginner's Guide without hesitation to users unfamiliar with NumPy (provided they already have some Python chops). NumPy is the most important Python package for mathematics, statistics and other numerical computation, and there is currently no better novice introduction in print. Having a copy of my own, it will be nice to have it close at hand to remind me of how much power is contained within the NumPy code base.

DISCLAIMER -- I was given a complementary electronic copy of the book from the publisher in exchange for writing a review.
3 of 3 people found the following review helpful
Learn by doing: less theory, more results 9 Dec 2011
By David W. Lambert - Published on Amazon.com
Format:Paperback
NumPy 1.5 achieves the goal stated on its cover "Learn by doing: less theory, more results". In my opinion, it is an exciting introduction to the large numpy module. Many of the examples pertain to money: stock market analysis. I learned quite a bit even though I was quite familiar with numpy prior to reading.

From the basic additional functionality of arithmetic operating over all data at once, to advanced math of polynomials, fast Fourier transform, singular value decomposition, to visualization with graphics, NumPy 1.5 motivates the python programmer to install and use numpy. The book assumes facility with python. For instance, author Ivan Idris expects you to know how to examine directories and files with your operating system. He expects you to know to import datetime and sys as you read the book. Since these are included in the companion code it may help to browse these sources alongside the text. Frankly, I appreciated being treated as competent. The book does not cover all the available random distributions, special functions, optimizations for special matrices. Nor should it as an introduction to numpy. Ivan provides direction for your further investigation.

I jotted a few notes as I read:
> The numpy installation instructions were included for several operating systems. My installation on ubuntu was perfect;
> The author employed a helpful a method of frequent summaries and quizzes;
> In many instances multiple solutions were presented for a task;
> NumPy 1.5 treats broadcasting almost implicitly. In chapter 1 we see an_array**3. It seems worth repeating that each value of the array is cubed, taking us back to the near origins of interactive computing, APL and Dartmouth BASIC;
> In addition to the tab completion help of ipython which was recommended, I'd have liked to also see advocacy for numpy.lookfor and numpy.info in chapter 1. These handy documentation search functions assist finding the right method among the large numpy extension to python;
> I had to search the internet for matplotlib. Should NumPy 1.5 Beginner's Guide have explained the straightforward installation?

After a brief tour of numpy basics in chapter 1, NumPy: Beginner's Guide introduces additional numpy functionality and concepts with real-life examples as promised on the book's cover. For me the material from chapter 5 onward became easier, perhaps because both the author and I are physicists. Chapters 3 and 4 demonstrated numpy features to analyze stock market data. Chapter 5 continued by synthesizing wave forms with Fourier series. I enjoyed seeing the ringing created using a small number of terms of the Fourier series. On the the other hand, NumPy zipped through Eigenvalues and singular value decomposition without real world examples. Wherein the earlier chapters emphasized curve fits, it would have been appropriate for the SVD example to fit a lower order polynomial to same data. Also marginally interesting: FFT of stock market data. You might consider my complaints illegitimate. The book isn't a linear algebra text. If you know you need this functionality you probably understand it and now you've discovered that it, and more, is easily accessible from numpy.

The functionality of numpy is akin to a verbose form of APL, my first programming language. Thus I might be overly harsh. NumPy 1.5 introduces the rich numerical numpy toolset enabling rapid insight through a variety of approaches to manipulating data. I've used numpy for scientific computing. I recommend numpy for python even if all you need is to add two lists together, and I endorse Ivan Idris's NumPy 1.5 Beginner's Guide. It will familiarize you with numpy and help you to use it effectively.
5 of 6 people found the following review helpful
Kindle edition has formatting problems 25 Jan 2012
By Patrick McMahon - Published on Amazon.com
Format:Kindle Edition|Amazon Verified Purchase
The Kindle edition left justifies all the code listings with none of the indentation of loops, functions, etc., shown in the print edition and required in NumPy and Python. Multi-dimensional arrays, which are well laid out in the print edition, are also left justified and difficult to follow. Stick with the print edition.

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges