일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- duckdb
- CSV
- local
- vba
- 뮌헨
- 釜つる
- 熱海
- pyenv
- javascript
- react.js
- PayPay
- documentdb
- node.js
- 메르페이
- 체코
- 카마츠루
- JenkinsFile
- 페이페이
- Selenium
- typescript
- 三井住友カード
- 프라하
- Python
- 미츠이 스미토모
- PostgreSQL
- codebuild
- terraform
- 태국
- 방콕
- 아타미
- 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..