일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- EdgeR
- scRNAseq analysis
- CSS
- cellranger
- PYTHON
- pandas
- single cell
- github
- 비타민 C
- MACS2
- single cell analysis
- single cell rnaseq
- matplotlib
- drug muggers
- scRNAseq
- js
- Batch effect
- javascript
- drug development
- CUT&RUN
- 싱글셀 분석
- HTML
- ChIPseq
- DataFrame
- Bioinformatics
- CUTandRUN
- ngs
- Git
- julia
- python matplotlib
Archives
- Today
- Total
목록sort_value (1)
바이오 대표
[ Python pandas ] Dataframe row 제거 및 재배열 (drop(.index)), sort_values, reset_index)
# 아래의 Dataframe 에서 중복되는 Row Drop df = df.drop(df[df.duplicated()].index) # by "Y" df = df.sort_values("Y") df = df.reset_index(drop=True) # 만약 drop=True 옵션을 넣어주지 않는다면 그전 index가 새로운 column으로 형성된다.
Python/dataframe (pandas)
2022. 1. 12. 12:34