def to_google_cloud_bigquery(pandas_gbq_schema):
    """Given a schema in pandas-gbq API format,
    return a sequence of :class:`google.cloud.bigquery.schema.SchemaField`.
    """
    from google.cloud import bigquery

    # Need to convert from JSON representation to format used by client library.
    schema = add_default_nullable_mode(pandas_gbq_schema)
    return [bigquery.SchemaField.from_api_repr(field) for field in schema["fields"]]
Given a schema in pandas-gbq API format,
    return a sequence of :class:`google.cloud.bigquery.schema.SchemaField`.
    
pandas_gbq/schema/__init__.py