| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- GIT
- dataframe
- string
- Github
- PANDAS
- Kotlin
- Google Spreadsheet
- matplotlib
- google apps script
- Tkinter
- PySpark
- Presto
- Apache
- math
- c#
- array
- SQL
- PostgreSQL
- 파이썬
- gas
- list
- numpy
- Python
- Java
- Redshift
- Google Excel
- Excel
- hive
- django
- Today
- Total
목록Python (395)
달나라 노트
anaconda를 사용할 때 다양한 environment를 어떻게 활성화하는지 알아봅시다. conda activate environment_name 원하는 interpreter를 활성화할 땐 conda activate 명령어를 사용하면 됩니다. 예시를 봅시다. terminal을 열고 conda env list를 입력하여 현재 제 컴퓨터에 설치된 conda environment를 출력해봅시다.(conda env list 관련 = https://cosmosproject.tistory.com/919) (base) ~ % conda env list# conda environments:#base * /opt/anaconda3dj_project /opt/a..
anaconda에서는 현재 사용중인 interpreter의 정보를 출력하는 기능이 있습니다. conda info terminal을 열고 conda info 명령어를 입력해봅시다. (base) ~ % conda info active environment : base active env location : /opt/anaconda3 shell level : 1 user config file : /Users/me/.condarc populated config files : /Users/me/.condarc conda version : 24.5.0 conda-build version : 24.1.2 python version :..
anaconda를 사용할 때 현재 설치된 anaconda interpreter가 설치된 경로와 이름 등 anaconda interpreter list를 추출할 수 있는 방법을 알아봅시다. conda env list terminal을 열고 위 명령어를 입력해봅시다. (base) ~ % conda env list# conda environments:#base * /opt/anaconda3dj_project /opt/anaconda3/envs/dj_projecttestproject /opt/anaconda3/envs/testproject 그러면 위처럼 현재 설치된 interpreter의 이름과 각 interpreter가 설치된..
numpy에서 제공하는 argmax, argmin method에 대해 알아봅시다. argmax는 주어진 array에서 가장 큰 값을 찾아 그 값의 위치(index)를 return합니다.argmin은 주어진 array에서 가장 작은 값을 찾아 그 값의 위치(index)를 return합니다. argmax, argmin은 기본적으로 작동 방식이나 작동 형태는 동일합니다.다만 주어진 array에서 가장 큰 값을 찾느냐, 가장 작은 값을 찾느냐 이 차이이죠. Syntaxnumpy.argmax(array, axis=0/1)numpy.argmin(array, axis=0/1) - arrayargmax, argmin을 적용할 대상 array를 전달합니다. - axisoptional한 옵션입니다. 전달하지 않아도 됩니..