An open API service indexing awesome lists of open source software.

https://github.com/davidyslu/DataParsing_Python

Lab of "Workshop on AI & Big Data Analytics 2018" Training Course
https://github.com/davidyslu/DataParsing_Python

data-parsing

Last synced: 11 months ago
JSON representation

Lab of "Workshop on AI & Big Data Analytics 2018" Training Course

Awesome Lists containing this project

README

          

# Data Parsing in Python

This repository is some pactice of data parsing by using Python. Notice that this repository is lab in "Workshop on AI & Big Data Analytics 2018".

---
## Execution

* Lab0 - Sort the last column and print the result
```bash
$ python ./Lab0/main.py
```
* Lab1 - Extract specific data in JSON file
```bash
$ python ./Lab1/main.py
```
* Lab2 - Transfer the image into grayscale and rotation
```bash
$ python ./Lab2/main.py
```

---
## Framework

* `Lab0/` - Use Python to read CSV file and sort the data
* `main.py`
* `Lab1/` - Use Python to load JSON file and extract the specific key
* `main.py`
* `Lab2/` - Use Python to read a image and transfer the image into grayscale
* `main.py`
* `data/`
* `example.csv` - Input data used in `Lab0/main.py`
* `example.json` - Input data used in `Lab1/main.py`
* `lena.jpg` - Input data used in `Lab2/main.py`

---
## Author

* [David Lu](https://github.com/yungshenglu)