Skip to content

Instantly share code, notes, and snippets.

@ianballou
Created January 21, 2019 16:32
Show Gist options
  • Save ianballou/1870d7629a4e501838044e63127891dc to your computer and use it in GitHub Desktop.
Save ianballou/1870d7629a4e501838044e63127891dc to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "table_test.py", line 17, in <module>
rows=['Potato', 'corn']))
File "table_test.py", line 12, in make_table
output_table.add_row(row)
File "/home/ian/.local/lib/python2.7/site-packages/prettytable.py", line 818, in add_row
raise Exception("Row has incorrect number of values, (actual) %d!=%d (expected)" %(len(row),len(self._field_names)))
Exception: Row has incorrect number of values, (actual) 6!=2 (expected)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment