1. Sergey Astanin
  2. python-tabulate
  3. Pull requests

Pull requests

#3 Merged
Repository
python-tabulate-namedtuple
Branch
master
Repository
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.

Comments (1)