반응형
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 |
Tags
- string
- Redshift
- SQL
- Mac
- Excel
- list
- gas
- math
- dataframe
- Google Excel
- numpy
- 파이썬
- PANDAS
- array
- Github
- Google Spreadsheet
- PostgreSQL
- GIT
- Java
- Apache
- google apps script
- c#
- PySpark
- hive
- Kotlin
- Tkinter
- matplotlib
- django
- Python
Archives
- Today
- Total
목록cummax (1)
달나라 노트
Python Pandas : cummin, cummax (누적최소값, 누적최대값)
cummin은 누적 최소값을 구하며cummax는 누적 최대값을 구합니다. 이는 cumsum, cumprod와 매우 유사하게 작동합니다.참고 cumsum, cumprod = https://cosmosproject.tistory.com/860 cummin부터 알아봅시다. Syntaxcummin(skipna=True/False, axis=0/1)cummax(skipna=True/False, axis=0/1) - skipnaTrue일 경우 NaN값을 무시하고 계산합니다.False일 경우 NaN값을 고려하고 계산합니다. - axis누적합을 구할 축을 지정합니다.기본값은 0이며 0으로 지정해야 컬럼 기준 누적합이 됩니다. import pandas as pddict_test = { 'seq': [0,..
Python/Python Pandas
2024. 8. 1. 20:10