title: Bigquery - Insert new data row into table by python
body: <p>I read many documents about google bigquery-python, but I can't understand how to manage bigquery data by python code.</p>
  
  <p>At first, I make a new table as below.</p>
  
  <pre><code>credentials = GoogleCredentials.get_application_default()
  service = build('bigquery', 'v2', credentials = credentials)
  
  project_id = 'my_project'
  dataset_id = 'my_dataset'
  table_id = 'my_table'
  
  project_ref = {'projectId': project_id}
  dataset_ref = {'datasetId': dataset_id,
                 'projectId': project_id}
  table_ref = {'tableId': table_id,
               'datasetId': dataset_id,
               'projectId': project_id}
  
  dataset = {'datasetReference': dataset_ref}
  table = {'tableReference': table_ref}
  table['schema'] = {'fields': [
      {'name': 'id', 'type': 'string'},
  ...
  ]}
  
  table = service.tables().insert(body = table, **dataset_ref).execute()
  </code></pre>
  
  <p>And then I want to insert a data into this table, so I tried to do like below.</p>
  
  <pre><code>fetch_list = []
  patch = {'key': 'value'}
  fetch_list.append(patch)
  
  table = service.tables().patch(body = fetch_list, **table_ref).execute()
  </code></pre>
  
  <p>But nothing happened.</p>
  
  <p>How can I update new data into bigquery table?</p>
  
  <p>Please show me some example codes.</p>