How To Group By Columns With Missing Values in Pandas

Incorporating null values whilst grouping by in pandas columns

Giorgos Myrianthous
Towards Data Science
3 min readNov 14, 2022

--

Photo by Firmbee.com on Unsplash

Performing aggregations with the use of group by clauses is probably something you come across in your day-to-day work. Pandas in Python is no exception to this since this is an operation you will definitely see in many different places of a repository utilising the…

--

--

I strive to build data-intensive systems that are not only functional, but also scalable, cost effective and maintainable over the long term.