Thông báo: Tất cả dự án phi thương mại đã đăng ký sử dụng Earth Engine trước ngày 15 tháng 4 năm 2025 phải xác minh điều kiện sử dụng phi thương mại để duy trì quyền truy cập vào Earth Engine.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Áp dụng một hàm giảm cho danh sách. Nếu hàm giảm nhận nhiều hơn 1 đầu vào, thì mỗi phần tử trong danh sách được giả định là một danh sách đầu vào. Nếu hàm giảm trả về một đầu ra duy nhất, thì đầu ra đó sẽ được trả về trực tiếp, nếu không, hàm giảm sẽ trả về một từ điển chứa các đầu ra được đặt tên của hàm giảm.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["`List.reduce` applies a given reducer function to a list, processing each element individually or as a list of inputs for the reducer."],["The method returns a single output directly if the reducer produces one, otherwise it returns a dictionary containing named outputs from the reducer."],["This function operates on a list and requires a reducer as input, streamlining the application of reducing functions to list data."]]],["A `reducer` function is applied to a `list`. If the `reducer` accepts multiple inputs, each list element is treated as a list of inputs. The output depends on the `reducer`: a single output is returned directly, whereas multiple outputs are returned as a dictionary with named outputs. The `list.reduce(reducer)` method is employed, returning an object. The method takes two arguments, a `list` and a `reducer`.\n"]]