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

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.

主站蜘蛛池模板: 霍林郭勒市| 奉新县| 新巴尔虎左旗| 类乌齐县| 富锦市| 宁国市| 长岭县| 集贤县| 千阳县| 莱西市| 芜湖县| 河津市| 永寿县| 启东市| 若尔盖县| 西平县| 和田县| 阳谷县| 呼和浩特市| 永州市| 新营市| 鹰潭市| 靖州| 偏关县| 闵行区| 固阳县| 万荣县| 正蓝旗| 阳江市| 疏附县| 镇坪县| 安泽县| 赤壁市| 屯昌县| 驻马店市| 河间市| 隆尧县| 平罗县| 迁安市| 尚义县| 松滋市|