Keep name after DataFrame drop (issue 2939)

This should fix #2939.