dataframe Module

DataFrame CRUD operations namespace for the Dataverse SDK.

Classes

DataFrameOperations

Namespace for pandas DataFrame CRUD operations.

Accessed via client.dataframe. Provides DataFrame-oriented wrappers around the record-level CRUD operations.

Example:


   import pandas as pd

   client = DataverseClient(base_url, credential)

   # Query records as a DataFrame
   df = client.dataframe.get("account", select=["name"], top=100)

   # Create records from a DataFrame
   new_df = pd.DataFrame([{"name": "Contoso"}, {"name": "Fabrikam"}])
   new_df["accountid"] = client.dataframe.create("account", new_df)

   # Update records
   new_df["telephone1"] = ["555-0100", "555-0200"]
   client.dataframe.update("account", new_df, id_column="accountid")

   # Delete records
   client.dataframe.delete("account", new_df["accountid"])