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

Introduction

For the following set of recipes, we will use Python to read data in various formats and store it in RDBMS and NoSQL databases.

All the source codes and datasets that we will use in this book are available in the GitHub repository for this book. To clone the repository, open your terminal of choice (on Windows, you can use command line, Cygwin, or Git Bash and in the Linux/Mac environment, you can go to Terminal) and issue the following command (in one line):

git clone https://github.com/drabastomek/practicalDataAnalysisCookbook.git

Tip

Note that you need Git installed on your machine. Refer to https://git-scm.com/book/en/v2/Getting-Started-Installing-Git for installation instructions.

In the following four sections, we will use a dataset that consists of 985 real estate transactions. The real estate sales took place in the Sacramento area over a period of five consecutive days. We downloaded the data from https://support.spatialkey.com/spatialkey-sample-csv-data/—in specificity, http://samplecsvs.s3.amazonaws.com/Sacramentorealestatetransactions.csv. The data was then transformed into various formats that are stored in the Data/Chapter01 folder in the GitHub repository.

In addition, you will learn how to retrieve information from HTML files. For this purpose, we will use the Wikipedia list of airports starting with the letter A, https://en.wikipedia.org/wiki/List_of_airports_by_IATA_code:_A.

To clean our dataset, we will use OpenRefine; it is a powerful tool to read, clean, and transform data.

主站蜘蛛池模板: 仙桃市| 惠水县| 南靖县| 资兴市| 浦城县| 搜索| 城口县| 邹城市| 永和县| 镇远县| 长海县| 子洲县| 外汇| 旺苍县| 白山市| 孝昌县| 剑河县| 临朐县| 松阳县| 肇庆市| 北宁市| 弥渡县| 工布江达县| 淅川县| 黔西| 将乐县| 崇阳县| 岑溪市| 贡觉县| 千阳县| 游戏| 南开区| 鄂托克前旗| 仙游县| 台东县| 枝江市| 江口县| 伊吾县| 三明市| 游戏| 宜阳县|