[Python] Fix Aggregate core