Exploring the new NumPy features: Rewrite Python for Data Analysis

Standard

The new version of NumPy 1.10 contains the new Python @ operator. This is for matrix multiplication and greatly simplifies some code. This also appeals to me as a Math geek because it makes it really easy to write code down based on what you read in a paper. This makes implementing a linear algebra model much simpler.

I had a look at the NumPy chapter in Python for Data Analysis and reimplemented some parts of it using the new operator. I found this a good learning experience

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s