일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 싱글셀 분석
- 비타민 C
- python matplotlib
- single cell analysis
- drug muggers
- julia
- ChIPseq
- EdgeR
- PYTHON
- cellranger
- Git
- scRNAseq
- drug development
- CUT&RUN
- scRNAseq analysis
- matplotlib
- Bioinformatics
- CSS
- CUTandRUN
- MACS2
- Batch effect
- github
- HTML
- ngs
- js
- DataFrame
- pandas
- single cell rnaseq
- javascript
- single cell
Archives
- Today
- Total
바이오 대표
[ sys ] python 으로 object 의 메모리 크기 알아내기 - getsizeof( ) 본문
메모리 사이즈
Byte | 1 bytes |
KB (Kilo Byte) | 1000 (10^3) bytes |
MB (Mega Byte) | 1,000,000 (10^6) bytes |
GB (Giga Byte) | 1,000,000,000 (10^9) bytes |
TB (Tera Byte) | 1,000,000,000,000 (10^12) bytes |
PB (Pete Byte) | 1,000,000,000,000,000 (10^15) bytes |
List, Array, tensor, Dataframe 등 python 에서 사용되는 모든 Object 의 메모리 사이즈를 sys.getsizeof( ) 로 확인할 수있다.
* 해당 function은 메모리에 실제로 올라가는 크기임으로, '' 와 같이 빈 문자열도 49bytes 를 차지한다.
'Python > others' 카테고리의 다른 글
[py.click] click pakage로 python package 만들기 (0) | 2023.06.12 |
---|---|
[ Algorithm ] Recursion 재귀 Algorithm (0) | 2022.03.06 |
[ Python ] 교차 검증 (Cross Validation) - sklearn.Kfold (0) | 2022.02.15 |