我将项目从Symfony 3.1升级到Symfony 3.4
使用本教程: https://symfony.com/doc/current/setup/upgrade_minor.html
项目似乎正在app_dev.php上运行,但是当我在app.php上运行它时显示以下错误:
composer require twig/extensions
你知道我该如何解决它?
我已经尝试了
composer update twig/twig
并且:
a = [('Bob', 562,"Food", "12 May 2018"), ('Bob',880,"Food","01 June 2018"), ('Bob',380,'Household'," 16 June 2018"), ('Sue',85,'Household'," 16 July 2018"), ('Sue',963,'Household'," 16 Sept 2018")]
df = spark.createDataFrame(a, ["Person", "Amount","Budget", "Date"])
df_grouped = df1.groupby("Person").agg(F.collect_list("Budget").alias("data"))
这些都不起作用。