• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

롤링

[Python pandas] 여러 column을 참조하여 rolling으로 apply하고 싶습니다.

Python의 panadas에서 이동 평균 등을 계산할 때 이용할 때는 윈도우 함수를 계산하는 rolling 메소드를 이용합니다. rolling 메소드를 사용해, mean 등의 디폴트로 준비되어 있는 계산 이외를 실시하는 경우는, apply 메소드로, 독자 정의한 함수를 지정합니다. 그 때 여러 개의 column이 관련한 계산을 하고 싶은 것이 있습니다만, rolling 메소드는, colum...

pandas파이썬롤링

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more