官术网_书友最值得收藏!

Chapter 2. NumPy Arrays

Now that we have worked on a real example utilizing the foundational data analysis libraries from SciPy stack, it's time to learn about NumPy arrays. This chapter acquaints you with the fundamentals of NumPy arrays. At the end of this chapter, you will have a basic understanding of NumPy arrays and related functions.

The topics we will address in this chapter are as follows:

  • The NumPy array object
  • Creating a multidimensional array
  • Selecting NumPy array elements
  • NumPy numerical types
  • One-dimensional slicing and indexing
  • Manipulating array shapes
  • Creating array views and copies
  • Fancy indexing
  • Indexing with a list of locations
  • Indexing NumPy arrays with Booleans
  • Broadcasting NumPy arrays

You may want to open the ch-02.ipynb file in Jupyter Notebook to follow along the examples in this chapter or type them in a new notebook of your own.

主站蜘蛛池模板: 新民市| 瓮安县| 新闻| 湾仔区| 岳普湖县| 天津市| 宜都市| 常宁市| 金寨县| 措勤县| 承德市| 广宗县| 巍山| 康马县| 南京市| 搜索| 绵竹市| 镇江市| 水城县| 阿荣旗| 布拖县| 治县。| 长阳| 平山县| 西峡县| 泾阳县| 灵石县| 都昌县| 安顺市| 乐清市| 固原市| 张家川| 板桥市| 玉环县| 海阳市| 金塔县| 乐陵市| 乌恰县| 玉树县| 井冈山市| 简阳市|