일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- local
- 熱海
- duckdb
- terraform
- javascript
- pyenv
- 태국
- react.js
- node.js
- vba
- 체코
- 카마츠루
- 메르페이
- 아타미
- 뮌헨
- 프라하
- 三井住友カード
- Selenium
- 페이페이
- Python
- 방콕
- CSV
- JenkinsFile
- 釜つる
- typescript
- documentdb
- 미츠이 스미토모
- PostgreSQL
- PayPay
- codebuild
- Today
- Total
목록Jupyter notebook (2)
도쿄사는 외노자
concurrent.futureshttps://docs.python.org/3/library/concurrent.futures.htmlThreadPoolExecutor지정한 함수를 병렬기동from concurrent.futures import ThreadPoolExecutordef parallel_execute(function, args_list, max_workers=20): futures = [] with ThreadPoolExecutor( max_workers=max_workers, thread_name_prefix="thread" ) as pool: for args in args_list: future = pool.submit(funct..

jupyter notebook 사용하기 Python 설치 맥북이면 Homebrew로 설치하면 되고, 윈도우면 홈페이지에서 다운로드할 것. 인스톨시에는 "Path에 추가"를 반드시 체크해주자. jupyter설치 이하 커맨드 사용 $ pip install --upgrade pip $ pip install jupyter MacOS의 경우는 pip 대신 pip3으로. 윈도우의 경우, 혹시 이하와 같은 에러가 나올 수 있다. ERROR: Could not install packages due to an OSError: [WinError 5] 액세스가 거부되었습니다: 'C:\\Users\\geniu\\AppData\\Local\\Programs\\Python\\Python310\\~cripts\\pip.exe' C..