From this link, download a credential file you will need: config.share
Install the delta sharing python package in your local environment: pip install delta_sharing
Use the following code to get a table named contract_text:
Copy
Ask AI
import delta_sharing# change local path to file if needed, this assumes it's in the same foldershare_file = "config.share"client = delta_sharing.SharingClient(share_file)share = "ledgerdatamap"table_name = "contract_text"def get_table_url(table): return f"{share_file}#{share}.data_map.{table}"df = delta_sharing.load_as_pandas(get_table_url(table_name))print(df)
To view all available tables do: client.list_all_tables()