这可能是一个愚蠢的问题,但从ZIO开始,我无法将Seq[ZIO]转换为ZIO[Seq]。keys: Seq[String], locales: Seq[Locale]):RIO[Translator, Seq[Translation]] = { service <- ZIO.environment[Translator] // service.translate produce a zio.Task
我的输入数据看起来像这样--在本例中,我如何将表1转换为表2,其中第一行被分成了3行?那么,如何将表2转换为表3,其中将3行加和为1Task |Month1 |Month1 plan in % |Month2 plan in % |Month3 plan in %Processing |Jul-17 |30 |70表2