- Applied Deep Learning with Python
- Alex Galea Luis Capelo
- 158字
- 2021-08-13 15:53:06
Loading the Data into Jupyter Using a Pandas DataFrame
Oftentimes, data is stored in tables, which means it can be saved as a comma-separated variable (CSV) file. This format, and many others, can be read into Python as a DataFrame object, using the Pandas library. Other common formats include tab-separated variable (TSV), SQL tables, and JSON data structures. Indeed, Pandas has support for all of these. In this example, however, we are not going to load the data this way because the dataset is available directly through scikit-learn.
An important part after loading data for analysis is ensuring that it's clean. For example, we would generally need to deal with missing data and ensure that all columns have the correct datatypes. The dataset we use in this section has already been cleaned, so we will not need to worry about this. However, we'll see messier data in the second chapter and explore techniques for dealing with it.
推薦閱讀
- JBoss Weld CDI for Java Platform
- Oracle WebLogic Server 12c:First Look
- PWA入門與實踐
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- The Android Game Developer's Handbook
- Go語言高效編程:原理、可觀測性與優化
- Learning SAP Analytics Cloud
- 編程珠璣(續)
- Learning AWS Lumberyard Game Development
- Python零基礎快樂學習之旅(K12實戰訓練)
- The Data Visualization Workshop
- 前端HTML+CSS修煉之道(視頻同步+直播)
- Visual Basic 6.0程序設計實驗教程
- Swift語言實戰晉級
- 創意UI Photoshop玩轉移動UI設計