- 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:

推薦閱讀
- Oracle從入門(mén)到精通(第3版)
- Expert C++
- 編程卓越之道(卷3):軟件工程化
- Vue.js 3.x從入門(mén)到精通(視頻教學(xué)版)
- 云原生Spring實(shí)戰(zhàn)
- Learning Python Design Patterns
- Spring Boot Cookbook
- Highcharts Cookbook
- Visual Studio 2015高級(jí)編程(第6版)
- Python程序設(shè)計(jì)與算法基礎(chǔ)教程(第2版)(微課版)
- Test-Driven JavaScript Development
- Elasticsearch Essentials
- 從Power BI到Analysis Services:企業(yè)級(jí)數(shù)據(jù)分析實(shí)戰(zhàn)
- Scala Functional Programming Patterns
- C/C++程序設(shè)計(jì)教程