일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- gas
- Google Spreadsheet
- Java
- PySpark
- Apache
- PostgreSQL
- Kotlin
- 파이썬
- dataframe
- Tkinter
- SQL
- array
- matplotlib
- numpy
- Google Excel
- Excel
- hive
- google apps script
- django
- Mac
- list
- GIT
- c#
- PANDAS
- math
- Github
- string
- Python
- Redshift
- Today
- Total
목록분류 전체보기 (809)
달나라 노트
Redshift에서 현재 query를 돌리는 user를 알고 싶으면 current_user를 사용하면 됩니다. select current_user ; -- Result test_user_1
pcolormesh method는 color graph를 그릴 수 있게 해줍니다. pcolormesh는 다음과 같이 사용할 수 있습니다. import matplotlib.pyplot as plt plt.pcolormesh( [ [0, 1, 2, 3, 4], [1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7] ] ) plt.show() 그러면 위같은 결과가 나옵니다. import matplotlib.pyplot as plt plt.pcolormesh( [ [0, 1, 2, 3, 4], [1, 2, 3, 4, 5], [2, 3, 4, 5, 6], [3, 4, 5, 6, 7] ] ) plt.show() 코드를 다시 보면 일단 pcolormesh()에 전달되는 array 또..
Python matplotlib를 사용하다 보면 아래와 같은 에러가 발생할 때가 있습니다. AttributeError: module 'backend_interagg' has no attribute 'FigureCanvas'. Did you mean: 'FigureCanvasAgg'? Error 이는 아주 간단하게 해결 가능한데 import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt ... 위처럼 matplotlib.use('TkAgg') 라는 내용을 코드의 가장 상단에 적어주면 됩니다.
M1 이상의 Macbook으로 Python을 쓰다보면 아래와 같은 에러가 발생할 수 있습니다. Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions. M1 칩 때문에 발생하는 에러인데 numpy, matplotlib, pandas 등을 설치하면 자동으로 mkl이라는 모듈이 설치될 수 있습니다. 이때 mkl 모듈이 충돌을..