📅  最后修改于: 2022-03-11 14:46:43.056000             🧑  作者: Mango
from pyspark.sql import functions as func
prova_df.groupBy("order_item_order_id").agg(func.sum("order_item_subtotal")).show()