dataframe Modül

Dataverse SDK'sı için DataFrame CRUD işlemleri ad alanı.

Sınıflar

DataFrameOperations

pandas DataFrame CRUD işlemleri için ad alanı.

client.dataframe aracılığıyla erişilir. Kayıt düzeyi CRUD işlemleri etrafında DataFrame odaklı sarmalayıcılar sağlar.

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"])