Example My DataFrame
df = pd.DataFrame({'a': [4,5,4], 'b': ['121233', '45a56', '0000'], 'c':['sas53d1', '1asdf23', '2asdf456']})
my Bigquery Table Path
table = 'tutorial.b'
So i make a Table with
client.load_table_from_dataframe(df,table)
Then i make a bigquery table in tutorial.b So i want to insert another dataframe
df1 = df = pd.DataFrame({'a': [1,2,3], 'b': ['aaa', 'bbb', 'ccc'], 'c':['casd33', 'dfsf12', 'lsdfkj3']})
so user insert_rows_from_dataframe
client.insert_rows_from_dataframe(table = table_path, dataframe = df1)
client.insert_rows_from_dataframe(df1, table_path)
i try this two code but always same error
The table argument should be a table ID string, Table, or TableReference
how to insert my dataframe to already exist table?
insert my dataframe to already exist table.