code: def from_records(cls, records):
          
          if not records:
              return cls()
          labels = sorted(list(records[0].keys()))
          columns = [[rec[label] for rec in records] for label in labels]
          return cls().with_columns(zip(labels, columns))
docs: Create a table from a sequence of records (dicts with fixed keys).