make tank work with older version of pandas