일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 크롤링
- Crawling
- Project
- tensorflow
- Scrum
- DANAWA
- data analyze
- python
- keras
- angular
- TypeScript
- pandas
- adaptive life cycle
- Method
- data
- matplotlib
- 자바스크립트
- javascript
- 프로젝트
- 애자일
- ECS
- Agile
- 다나와
- webcrawling
- analyzing
- visualizing
- instance
- opencv
- AWS
- algorithm
Archives
- Today
- Total
목록eval (1)
LiJell's 성장기
Python Extras
1. Iterator Iterable(반복 가능) 객체 반복자로 요소를 순서대로 읽을 수 있음 for 문과 함께 자주 사용됨 요소를 순회할 반복자 제공 nums = [11,22,33] it = iter(nums) while True: try: num = next(it) except StopIteration: break print(num) ''' 11 22 33 ''' 1.1. Iterator Generator 매번 iterator 관련 메서드를 작성하는 수고를 덜 수 있음 시간과 메모리를 적게 차지해서 많이 사용 yield 값을 반환 return과 유사하나 변수의 마지막 값과 상태를 저장 def seq_gen(data): for idx in range(0, len(data), 2): yield data[..
Bigdata/파이썬_Python
2022. 2. 14. 22:44