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

Python for data

Python has several built-in data structures, including lists, dictionaries, and sets, that we use to build customized objects. In addition, there are a number of internal libraries, such as collections and the math object, which allow us to create more advanced structures as well as perform calculations on those structures. Finally, there are the external libraries such as those found in the SciPy packages. These allow us to perform a range of advanced data tasks such as logistic and linear regression, visualization, and mathematical calculations such as operations on matrixes and vectors. External libraries can be very useful for an out-of-the-box solution. However, we must also be aware that there is often a performance penalty compared to building customized objects from the ground up. By learning how to code these objects ourselves, we can target them to specific tasks, making them more efficient. This is not to exclude the role of external libraries and we will look at this in Chapter 12, Design Techniques and Strategies.

To begin, we will take an overview of some of the key language features that make Python such a great choice for data programming.

主站蜘蛛池模板: 会理县| 保康县| 金阳县| 原平市| 鲁山县| 宁德市| 宜阳县| 丹阳市| 商都县| 达尔| 湛江市| 南雄市| 新密市| 安溪县| 务川| 通江县| 娄底市| 乐安县| 湘潭市| 建阳市| 罗江县| 隆化县| 湘乡市| 周至县| 分宜县| 基隆市| 勃利县| 南丹县| 法库县| 西平县| 华容县| 拉萨市| 札达县| 镇远县| 淳化县| 曲松县| 留坝县| 九龙县| 民权县| 双辽市| 邛崃市|