반응형
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
- Google Excel
- numpy
- google apps script
- SQL
- Redshift
- Apache
- Excel
- list
- Python
- PySpark
- Google Spreadsheet
- string
- gas
- PANDAS
- Kotlin
- Java
- dataframe
- matplotlib
- django
- math
- c#
- PostgreSQL
- Tkinter
- 파이썬
- Mac
- hive
- GIT
- Github
- array
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