Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- 분산분석
- pca
- dict
- Sawzall
- merge
- 병렬 쿼리 시스템
- SQL on 하둡
- SPLIT
- pig
- 유사도
- k-means
- 하둡
- list
- 분포
- hive
- 밀도기반
- DBSCAN
- 딕셔너리
- 결정계수
- 교차검증
- join
- distribution
- T-검정
- p-value
- DataFrame
- Python
- cross validation
- 가설검정
- 다중공선성
- 데이터프레임
Archives
- Today
- Total
목록product (1)
one of a kind scene
[itertools] 순열(permutations), 조합(combinations), 곱집합(product) 만들기
import itertools print(list(itertools.product(["-", "+"], repeat = 2))) print(list(itertools.permutations(["-", "+"], 2))) print(list(itertools.combinations(["-", "+"], 2))) print(list(itertools.product(["A", "B", "C"], repeat = 2))) print(list(itertools.permutations(["A", "B", "C"], 2))) print(list(itertools.combinations(["A", "B", "C"], 2)))
Python/내장모듈 및 자료구조
2020. 1. 28. 17:26