Book description
Supercharge your scientific Python computations by understanding how to use the NumPy library effectively
In Detail
NumPy is an extension of Python, which provides highly optimized arrays and numerical operations. NumPy replaces a lot of the functionality of Matlab and Mathematica specifically vectorized operations, but in contrast to those products is free and open source. In today's world of science and technology, it is all about speed and flexibility.
This book will teach you about NumPy, a leading scientific computing library. This book enables you to write readable, efficient, and fast code, which is closely associated to the language of mathematics. Save thousands of dollars on expensive software, while keeping all the flexibility and power of your favorite programming language.
You will learn about installing and using NumPy and related concepts. At the end of the book we will explore related scientific computing projects. This book will give you a solid foundation in NumPy arrays and universal functions. Learning NumPy Array will help you be productive with NumPy and write clean and fast code.
What You Will Learn
- Install NumPy and discover its arrays and features
- Perform data analysis and complex array operations with NumPy
- Analyze time series and perform signal processing
- Understand NumPy modules and explore the scientific Python ecosystem
- Improve the performance of calculations with clean and efficient NumPy code
- Analyze large data sets using statistical functions and execute complex linear algebra and mathematical computations
Publisher resources
Table of contents
-
Learning NumPy Array
- Table of Contents
- Learning NumPy Array
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Getting Started with NumPy
-
2. NumPy Basics
- The NumPy array object
- Creating a multidimensional array
- Selecting array elements
- NumPy numerical types
- Creating a record data type
- One-dimensional slicing and indexing
- Manipulating array shapes
- Creating views and copies
- Fancy indexing
- Indexing with a list of locations
- Indexing arrays with Booleans
- Stride tricks for Sudoku
- Broadcasting arrays
- Summary
-
3. Basic Data Analysis with NumPy
- Introducing the dataset
- Determining the daily temperature range
- Looking for evidence of global warming
- Comparing solar radiation versus temperature
- Analyzing wind direction
- Analyzing wind speed
- Analyzing precipitation and sunshine duration
- Analyzing monthly precipitation in De Bilt
- Analyzing atmospheric pressure in De Bilt
- Analyzing atmospheric humidity in De Bilt
- Summary
-
4. Simple Predictive Analytics with NumPy
- Examining autocorrelation of average temperature with pandas
- Describing data with pandas DataFrames
- Correlating weather and stocks with pandas
- Predicting temperature
- Analyzing intra-year daily average temperatures
- Introducing the day-of-the-year temperature model
- Modeling temperature with the SciPy leastsq function
- Day-of-year temperature take two
- Moving-average temperature model with lag 1
- The Autoregressive Moving Average temperature model
- The time-dependent temperature mean adjusted autoregressive model
- Outliers analysis of average De Bilt temperature
- Using more robust statistics
- Summary
- 5. Signal Processing Techniques
- 6. Profiling, Debugging, and Testing
- 7. The Scientific Python Ecosystem
- Index
Product information
- Title: Learning NumPy Array
- Author(s):
- Release date: June 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783983902
You might also like
book
Learning Go
Go is rapidly becoming the preferred language for building web services. While there are plenty of …
book
Learning SQL, 3rd Edition
As data floods into your company, you need to put it to work right away—and SQL …
book
Numerical Python : Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib
Leverage the numerical and mathematical modules in Python and its standard library as well as popular …
book
Data Science Projects with Python - Second Edition
Gain hands-on experience of Python programming with industry-standard machine learning techniques using pandas, scikit-learn, and XGBoost …