#NEWLINE# def add_table( self , spreadsheet_key , title , summary , worksheet_name , header_row , num_rows , start_row , insertion_mode , column_headers , auth_token = None , **kwargs ) : #NEWLINE# #INDENT# 'Creates a new table within the worksheet.\n\n    Args:\n      spreadsheet_key: str, The unique ID of this containing spreadsheet. This\n                       can be the ID from the URL or as provided in a\n                       Spreadsheet entry.\n      title: str, The title for the new table within a worksheet.\n      summary: str, A description of the table.\n      worksheet_name: str The name of the worksheet in which this table\n                      should live.\n      header_row: int or str, The number of the row in the worksheet which\n                  will contain the column names for the data in this table.\n      num_rows: int or str, The number of adjacent rows in this table.\n      start_row: int or str, The number of the row at which the data begins.\n      insertion_mode: str\n      column_headers: dict of strings, maps the column letters (A, B, C) to\n                      the desired name which will be viewable in the\n                      worksheet.\n      auth_token: An object which sets the Authorization HTTP header in its\n                  modify_request method. Recommended classes include\n                  gdata.gauth.ClientLoginToken and gdata.gauth.AuthSubToken\n                  among others. Represents the current user. Defaults to None\n                  and if None, this method will look for a value in the\n                  auth_token member of SpreadsheetsClient.\n    ' #NEWLINE# data = gdata . spreadsheets . data . Data ( insertion_mode = insertion_mode , num_rows = str ( num_rows ) , start_row = str ( start_row ) ) #NEWLINE# for ( index , name ) in column_headers . iteritems ( ) : #NEWLINE# #INDENT# data . column . append ( gdata . spreadsheets . data . Column ( index = index , name = name ) ) #NEWLINE# #UNINDENT# new_table = gdata . spreadsheets . data . Table ( title = atom . data . Title ( text = title ) , summary = atom . data . Summary ( summary ) , worksheet = gdata . spreadsheets . data . Worksheet ( name = worksheet_name ) , header = gdata . spreadsheets . data . Header ( row = str ( header_row ) ) , data = data ) #NEWLINE# return self . post ( new_table , ( TABLES_URL % spreadsheet_key ) , auth_token = auth_token , ** kwargs )