일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Batch effect
- python matplotlib
- matplotlib
- drug development
- ChIPseq
- EdgeR
- CUTandRUN
- scRNAseq
- DataFrame
- MACS2
- Bioinformatics
- 싱글셀 분석
- PYTHON
- CSS
- drug muggers
- github
- ngs
- javascript
- pandas
- single cell
- single cell rnaseq
- 비타민 C
- single cell analysis
- js
- scRNAseq analysis
- cellranger
- CUT&RUN
- HTML
- Git
- julia
Archives
- Today
- Total
목록merge (1)
바이오 대표

목표: Disease_uniq 에 "ICD10_L" (from Disease)합치기 # Diesas_name 에 맞은 ICD10_L 만 찾아서 758 row 를 유지하면서 합치기 Merge, concat, join을 이용해도 다 중복적으로 합쳐지고 내가 원하는 모양이 나오지 않는다. 따라서 내가 알아낸 제일 쉬운 방법: 합치고 중복 지우기 [1] A.merge(B) [2] drop_duplicates(subset = [" "]) 따라서 해당 두 테이블을 합치기 위해서는 disease_all = disease_uniq.merge(disease) # how defalt = "inner" disease_all = disease_all.drop_duplicates(subset = ["Disease_index"]..
Python/dataframe (pandas)
2022. 1. 20. 08:00