일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- single cell rnaseq
- single cell
- Git
- pandas
- CUT&RUN
- HTML
- cellranger
- Bioinformatics
- DataFrame
- CSS
- ngs
- scRNAseq
- 싱글셀 분석
- MACS2
- drug development
- python matplotlib
- js
- scRNAseq analysis
- EdgeR
- julia
- ChIPseq
- 비타민 C
- Batch effect
- single cell analysis
- matplotlib
- CUTandRUN
- github
- PYTHON
- javascript
- drug muggers
Archives
- Today
- Total
바이오 대표
[ Python pandas ] NaN 값이 포함되어있는 행 추출 - df.isna() 본문
- 특정 Column 의 NaN 값을 찾을 때 df[df.column.isna( )]
- Dataframe 안에서 NaN 값을 찾을 때 df[df.isna( ).any(axis=1)]
예시)

↓ [1] PercentageGrowth 값이 NaN 일 행 찾기
df[df.column.isna( )]

↓ [2] Value 값이 NaN 일 행 찾기
df[df.isna( ).any(axis=1)]

'Python > dataframe (pandas)' 카테고리의 다른 글
[ Python pandas ] drop( ) - row/column 삭제하기 (0) | 2022.02.10 |
---|---|
[ Python pandas ] Dataframe 을 tensor (array) 로 변경하기 - df.values (0) | 2022.02.07 |
[ Python pandas ] 원하는 행, 열(iloc/loc), 값(iat/at) 추출 (0) | 2022.02.05 |
[ Python pandas] 작은 Dataframe에 더 큰 테이블에서 맞는 조건만 합치기 (= 합치고, 중복 제거) (0) | 2022.01.20 |
[ Python pandas ] Dataframe row 제거 및 재배열 (drop(.index)), sort_values, reset_index) (0) | 2022.01.12 |