Adding column types for df2table

This patch adds column types when creating tables from data frames when it makes sense.