반응형
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
- Python
- PostgreSQL
- gas
- 파이썬
- Kotlin
- django
- hive
- Tkinter
- Github
- list
- SQL
- Redshift
- Java
- numpy
- matplotlib
- Mac
- c#
- dataframe
- math
- Google Excel
- string
- GIT
- array
- PANDAS
- PySpark
- Google Spreadsheet
- Excel
- google apps script
- Apache
Archives
- Today
- Total
목록memory_usage (1)
달나라 노트
Python Pandas : info(), memory_usage() (DataFrame의 memory 사용량 보기)
Pandas info(), memory_usage() — DataFrame의 메모리 사용량 보기 DataFrame의 메모리 사용량을 확인하는 두 가지 방법입니다. 대용량 데이터를 다룰 때 메모리 병목을 진단하거나, 최적화 전후를 비교할 때 씁니다. info() — 전체 정보와 함께 메모리 확인 info()는 DataFrame의 컬럼 타입, 결측치 수, 메모리 사용량 등 전체 개요를 한 번에 출력합니다. import pandas as pddf_1 = pd.DataFrame({ 'col1': [1, 1, 2, 2, 2, 3, 3, 3], 'col2': [4, 5, 6, 1, 8, 3, 5, 1], 'valid_yn': [1, 1, 1, 1, 1, 0, 0, 0],})pr..
Python/Python Pandas
2026. 5. 6. 23:29