docs: def _get_data_from_list_of_dicts(source, fields='*', first_row=0, count=-1, schema=None):
    """ Helper function for _get_data that handles lists of dicts. """
    if schema is None:
      schema = google.datalab.bigquery.Schema.from_data(source)
    fields = get_field_list(fields, schema)
    gen = source[first_row:first_row + count] if count >= 0 else source
    rows = [{'c': [{'v': row[c]} if c in row else {} for c in fields]} for row in gen]
    return {'cols': _get_cols(fields, schema), 'rows': rows}, len(source)