Why is the row name error message popping up?

Hi, can you provide a reproducible example?