Pull requests

#3 Merged
Repository
mkocikowski/python-tabulate-namedtuple python-tabulate-namedtuple
Branch
master
Repository
astanin/python-tabulate python-tabulate
Branch
master

Support for list of namedtuple 'keys'.

Author
  1. Mik Kocikowski
Reviewers
Description

Hi, if input to tabulate() is a list of namedtuples and 'headers' is set to 'keys', then column names will be taken from the field names on the namedtuple in row 0 of the data list.

  • Learn about pull requests

Comments (1)