반응형
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 |
Tags
- Excel
- GIT
- Redshift
- django
- Github
- dataframe
- string
- matplotlib
- SQL
- PANDAS
- Tkinter
- array
- Python
- PySpark
- Kotlin
- Apache
- c#
- hive
- Google Excel
- list
- Google Spreadsheet
- PostgreSQL
- gas
- numpy
- google apps script
- math
- Java
- 파이썬
- Mac
Archives
- Today
- Total
목록save pandas dataframe as png (1)
달나라 노트
Python Pandas : dataframe_image를 사용하여 DataFrame을 image로 저장하기 (save pandas dataframe as an image using dataframe_image)
dataframe_image library를 이용하면 Pandas의 DataFrame을 image로 저장할 수 있습니다. pip install dataframe-image 먼저 위처럼 dataframe-image library를 설치합시다. 설치시에는 underscore(_)가 아니라 dash(-)를 써야합니다. import pandas as pd import dataframe_image as dfi dict_item = { 'item_id': [1, 1, 3, 4], 'item_name': ['a', 'a', 'c', 'd'], 'price': [1000, 2000, 3000, 4000], 'flag': ['n', 'y', 'y', 'n'] } df_item = pd.DataFrame(dict_item..
Python/Python Pandas
2021. 7. 30. 19:00