- Mastering Python for Data Science
- Samir Madhavan
- 266字
- 2021-07-16 20:14:17
Chapter 1. Getting Started with Raw Data
In the world of data science, raw data comes in many forms and sizes. There is a lot of information that can be extracted from this raw data. To give an example, Amazon collects click stream data that records each and every click of the user on the website. This data can be utilized to understand if a user is a price-sensitive customer or prefer more popularly rated products. You must have noticed recommended products in Amazon; they are derived using such data.
The first step towards such an analysis would be to parse raw data. The parsing of the data involves the following steps:
- Extracting data from the source: Data can come in many forms, such as Excel, CSV, JSON, databases, and so on. Python makes it very easy to read data from these sources with the help of some useful packages, which will be covered in this chapter.
- Cleaning the data: Once a sanity check has been done, one needs to clean the data appropriately so that it can be utilized for analysis. You may have a dataset about students of a class and details about their height, weight, and marks. There may also be certain rows with the height or weight missing. Depending on the analysis being performed, these rows with missing values can either be ignored or replaced with the average height or weight.
In this chapter we will cover the following topics:
- Exploring arrays with NumPy
- Handling data with pandas
- Reading and writing data from various formats
- Handling missing data
- Manipulating data
推薦閱讀
- UI設計基礎培訓教程
- Getting Started with Citrix XenApp? 7.6
- Learn Type:Driven Development
- Vue.js 2 and Bootstrap 4 Web Development
- JIRA 7 Administration Cookbook(Second Edition)
- NLTK基礎教程:用NLTK和Python庫構建機器學習應用
- Python深度學習
- Learning Elixir
- C語言程序設計
- JavaCAPS基礎、應用與案例
- 區塊鏈架構之美:從比特幣、以太坊、超級賬本看區塊鏈架構設計
- IoT Projects with Bluetooth Low Energy
- 算法設計與分析:基于C++編程語言的描述
- Python一行流:像專家一樣寫代碼
- C#程序設計基礎入門教程