Calculate median on a grouped column

The article you reference uses Summarize. I’m not sure if it will accomplish what I am after. Will summarize group the data in the same way?