반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- Google Excel
- PySpark
- Mac
- Kotlin
- string
- SQL
- Java
- c#
- Apache
- Excel
- numpy
- GIT
- Redshift
- list
- Github
- hive
- math
- gas
- Tkinter
- google apps script
- Python
- PANDAS
- PostgreSQL
- 파이썬
- Google Spreadsheet
- dataframe
- matplotlib
- django
- array
Archives
- Today
- Total
목록read_json (1)
달나라 노트
Python Pandas : read_json (json 파일을 읽어서 DataFrame으로 만들기. json dataframe 변환.)
pandas의 read_json() method는 json 파일을 읽어와서 DataFrame으로 변환해주는 기능을 합니다. Syntax pandas.read_json(json_file, orient) - json_file 읽어올 json 파일의 경로와 이름입니다. (경로는 상대경로, 절대경로 모두 가능합니다.) - orient json 파일의 format입니다. columns, index, records, values, split의 다섯 종류가 있습니다. 각 orient 값이 어떠한 json format을 의미하는지는 본 글의 아래 부분에서 다루겠습니다. (format에 대한 자세한 설명은 다음 링크를 참고하시면 좋습니다. https://cosmosproject.tistory.com/684) fruits..
Python/Python Pandas
2022. 11. 12. 03:27