Frage im Vorstellungsgespräch bei Virtu Financial

What is the difference between a window function and the Group By? (SQL) Python - object