Pivot function not working

Hi guys,
How are you? I am trying to pivot some information on my AgGrid table but nothing is happening. I suppose we can use the class Helper built by Pablo right? What could be the problem on the following example?

gb = GridOptionsBuilder.from_dataframe(df_table)
gb.configure_pagination()
gb.configure_side_bar()
gb.configure_default_column(groupable=True, value=True, enableRowGroup=True, aggFunc= 'sum',editable=True,resizable=True,enablePivot=True,enableValue=True,filterable=True,pivotColumnGroupTotals='before')
gb.configure_column("WEEK",pivot= True,enablePivot=True)
gb.configure_column("Actuals",aggFunc='sum')
gridOptions = gb.build()
AgGrid(df_table,update_mode="NO_UPDATE",fit_columns_on_grid_load=False,gridOptions=gridOptions,use_column_width=True,height=500, allow_unsafe_jscode=True,enable_enterprise_modules=True)