def create_dataset(dataset_name, project=None):
 bigquery_client = bigquery.Client(project=project)
 dataset = bigquery_client.dataset(dataset_name)
 dataset.create()
 print 'Created dataset {}.'.format(dataset_name)

def create_dataset ( dataset_name , project = None ) : bigquery_client = bigquery . Client ( project = project ) dataset = bigquery_client . dataset ( dataset_name ) dataset . create ( ) print 'Created dataset {}.' . format ( dataset_name )
create a dataset .