- Matplotlib 2.x By Example
- Allen Yu Claire Chung Aldrin Yim
- 89字
- 2021-07-02 19:34:33
Loading data from files
While all this gives you a refresher of the data structures we will be working on, in real life, instead of inventing data, we read it from data sources. A tab-delimited plaintext file is the simplest and most common type of data input. Imagine we have a file called evens.txt containing the aforementioned even numbers. There are two columns. The first column only records unnecessary information. We want to load the data in the second column.
Here is what the dummy text file looks like:

推薦閱讀
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Monkey Game Development:Beginner's Guide
- DevOps入門與實踐
- Java加密與解密的藝術(第2版)
- 深入淺出Windows API程序設計:編程基礎篇
- Building Serverless Applications with Python
- R大數(shù)據(jù)分析實用指南
- Oracle Exadata專家手冊
- JavaScript腳本特效編程給力起飛
- Spring MVC+MyBatis開發(fā)從入門到項目實踐(超值版)
- 零基礎學HTML+CSS
- Magento 2 Beginners Guide
- Mastering Android Studio 3
- 程序員的成長課
- Mastering Node.js