- Python Data Analysis Cookbook
- Ivan Idris
- 202字
- 2021-07-14 11:05:47
Introduction
In the real world, data rarely matches textbook definitions and examples. We have to deal with issues such as faulty hardware, uncooperative customers, and disgruntled colleagues. It is difficult to predict what kind of issues you will run into, but it is safe to assume that they will be plentiful and challenging. In this chapter, I will sketch some common approaches to deal with noisy data, which are based more on rules of thumb than strict science. Luckily, the trial and error part of data analysis is limited.
Most of this chapter is about outlier management. Outliers are values that we consider to be abnormal. Of course, this is not the only issue that you will encounter, but it is a sneaky one. A common issue is that of missing or invalid values, so I will briefly mention masked arrays and pandas features such as the dropna()
function, which I have used throughout this book.
I have also written two recipes about using mpmath for arbitrary precision calculations. I don't recommend using mpmath unless you really have to because of the performance penalty you have to pay. Usually we can work around numerical issues, so arbitrary precision libraries are rarely needed.
- HTML5+CSS3+JavaScript從入門到精通:上冊(微課精編版·第2版)
- 自制編譯器
- iOS開發實戰:從零基礎到App Store上架
- INSTANT MinGW Starter
- Visual C++數字圖像處理技術詳解
- C# 8.0核心技術指南(原書第8版)
- Python忍者秘籍
- Access 2010數據庫應用技術(第2版)
- 利用Python進行數據分析
- SQL 經典實例
- OpenCV with Python By Example
- Arduino可穿戴設備開發
- Laravel Application Development Blueprints
- Android應用開發實戰
- Backbone.js Testing