[change type of whole list] : 속도 비교(performance testing )
[change type of whole list] : performance testing → comparison for loops and list comprehension and map → for문과 리스트 컨프리헨션, 맵의 속도 비교 시작에 앞서 이 글은 list안 요소의 type 변환 시 map()을 사용하는 것을 추천합니다. *결과값 읽는 법 → %%timeit %%timeit -n 10 코드를 반복 하여 평균 실행 속도를 구하는 코드 -n [num_loop] : [num_loop]에 반복 실행할 숫자를 입력(위 코드는 10번을 돌리라는 의미) → %%timeit 결과값 읽는 법 959 ms ± 8.6 ms per loop (mean ± std. dev. of 7 runs, 10 loop each)..
Python/Analysis to Python
2022. 5. 24. 18:56
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 파이썬 변수
- arguments
- Python
- sdsad
- asd ad
- 재귀함수 이해
- conda
- 재귀?
- _meaning
- 이스케이프 코드
- recursive
- 백준
- 재귀함수 설명
- 이중 프린트
- 콘다
- underscore
- 파이썬
- sad asd
- 연산속도
- sep=
- print()
- list comprehension
- 변수 덮어쓰기
- matplotlib
- anaconda
- _의미
- d asd asd
- parameters
- recursive function
- 덮어쓰기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함