def dtype_to_bqtype(dtype, default_type: str = 'STRING') -> str:
    """
    Convert from a pandas type to BigQuery type.
    """
    bqtype = default_type
    if dtype == 'int64':
        bqtype = 'INTEGER'
    return bqtype