Earth Engine은 공유 컴퓨팅 리소스를 보호하고 모든 사용자에게 안정적인 성능을 보장하기 위해
비상업적 할당량 등급 을 도입했습니다. 비상업적 프로젝트는 기본적으로 커뮤니티 등급을 사용하지만 언제든지 프로젝트의 등급을 변경할 수 있습니다.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
의견 보내기
ee.List.frequency
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
목록에서 요소와 동일한 요소의 수를 반환합니다.
사용 반환 값 List. frequency (element)정수
인수 유형 세부정보 다음과 같은 경우: list 목록 element객체
예
코드 편집기 (JavaScript)
// An ee.Image list object.
var list = ee . List ([ 0 , 1 , 2 , 2 , 3 , 4 ]);
print ( 'List of integers' , list );
// The ee.List.frequency function is used to determine how many times a value is
// present in a list, e.g. what is the frequency of 0, 2, and 9 in the list.
print ( 'Frequency of value 0' , list . frequency ( 0 ));
print ( 'Frequency of value 2' , list . frequency ( 2 ));
print ( 'Frequency of value 9' , list . frequency ( 9 ));
Python 설정
Python API 및 geemap를 사용한 대화형 개발에 관한 자세한 내용은
Python 환경 페이지를 참고하세요.
import ee
import geemap.core as geemap
Colab (Python)
# An ee.Image list object.
ee_list = ee . List ([ 0 , 1 , 2 , 2 , 3 , 4 ])
display ( 'List of integer:' , ee_list )
# The ee.List.frequency function is used to determine how many times a value is
# present in a list, e.g. what is the frequency of 0, 2, and 9 in the list.
display ( 'Frequency of value 0:' , ee_list . frequency ( 0 ))
display ( 'Frequency of value 2:' , ee_list . frequency ( 2 ))
display ( 'Frequency of value 9:' , ee_list . frequency ( 9 ))
의견 보내기
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스 에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스 에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책 을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-10-30(UTC)
의견을 전달하고 싶나요?
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-10-30(UTC)"],[],[]]