diff --git a/pinecone/data/index.py b/pinecone/data/index.py index eec20da52..339e639ec 100644 --- a/pinecone/data/index.py +++ b/pinecone/data/index.py @@ -227,7 +227,7 @@ def upsert_from_dataframe( """Upserts a dataframe into the index. Args: - df: A pandas dataframe with the following columns: id, vector, sparse_values, and metadata. + df: A pandas dataframe with the following columns: id, values, sparse_values, and metadata. namespace: The namespace to upsert into. batch_size: The number of rows to upsert in a single batch. show_progress: Whether to show a progress bar. diff --git a/pinecone/grpc/index_grpc.py b/pinecone/grpc/index_grpc.py index e0db9641f..e20d993a3 100644 --- a/pinecone/grpc/index_grpc.py +++ b/pinecone/grpc/index_grpc.py @@ -187,7 +187,7 @@ def upsert_from_dataframe( """Upserts a dataframe into the index. Args: - df: A pandas dataframe with the following columns: id, vector, and metadata. + df: A pandas dataframe with the following columns: id, values, sparse_values, and metadata. namespace: The namespace to upsert into. batch_size: The number of rows to upsert in a single batch. use_async_requests: Whether to upsert multiple requests at the same time using asynchronous request mechanism.