fold函數和reduce函數的區別(不特指spark)

In a fold over a collection, the accumulator type may be different than the type of the collection, and a zero element is usually given. In a reduce, you don't give a zero element and the accumulator
相關文章
相關標籤/搜索