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 | 31 |
Tags
- list
- distribution
- k-means
- DataFrame
- 교차검증
- dict
- Sawzall
- merge
- SPLIT
- 분포
- 분산분석
- 밀도기반
- p-value
- T-검정
- hive
- SQL on 하둡
- 다중공선성
- 하둡
- join
- cross validation
- 딕셔너리
- 유사도
- 데이터프레임
- pca
- 가설검정
- 결정계수
- pig
- 병렬 쿼리 시스템
- Python
- DBSCAN
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