Creates or redefines an aggregate window function. Non-standard. name The name of the SQL aggregate window function to be created or redefined. num_params The number of arguments the step and inverse methods takes. aggregate_class A class with step(), finalize(), value(), and inverse() methods. Set to None to clear the window function.