improve usablity of attributes_table

implementig the spec from @seanlinsley in #2138