I am trying to use the pandas NamedAgg function and am hitting a wall with it. I am getting the "module 'pandas' has no attribute 'NamedAgg'" error message.
I am using the example in the documentation, copied and pasted, so I don't know what I am doing wrong. Any advice?