update code to adjust to pandas newest version

2 jobs for master in 1 minute and 4 seconds (queued for 20 seconds)
Status Job ID Name Coverage
  Test
passed #102333
pages

00:01:04

 
  Deploy
passed pages:deploy

00:00:00