avoid failing with pandas 2.2 (Closes: #1071123) and remove unnecessary skip

First commit fixes #1071123 (pandas 2.2 compatibility).

Later ones remove the recently added test skip (looking for an error message to consider whether it could really be fixed) and find that there is no error. (I don't know what caused this to be added, so you might not want to take this part if you are seeing an error in other test environments.)

Merge request reports

Loading