formats function

Get or set formats for a data frame