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

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.

主站蜘蛛池模板: SHOW| 界首市| 印江| 广南县| 来安县| 光泽县| 青川县| 进贤县| 大新县| 莫力| 安仁县| 铅山县| 东丽区| 民勤县| 绵阳市| 平果县| 勃利县| 依兰县| 临朐县| 洪江市| 常宁市| 晋城| 钟祥市| 蒲城县| 徐水县| 鱼台县| 焉耆| 原阳县| 抚州市| 泰和县| 大洼县| 晋江市| 温宿县| 新巴尔虎左旗| 贵定县| 洪江市| 文安县| 保定市| 满洲里市| 龙游县| SHOW|