Dataframe¶
-
dataframe.
upsert
(session, dataset, df, *, primary_key_name=None)¶ Upserts a record for each row of df with attributes for each column in df.
- Parameters
- Return type
- Returns
JSON response body from the server
- Raises
requests.HTTPError – If an HTTP error is encountered
primary_key.NotFound – If primary_key_name is not a column in df or the index of df
ValueError – If primary_key_name matches both a column in df and the index of df