A table class for Python