added support for pandas table output