Load Experiment Test data from the Cloud.#

This example shows sda.api.load.load_test() with source="cloud": the workbook is fetched from SharePoint on demand (cached locally after the first download).

Prerequisites

  • Microsoft Graph authentication (interactive browser sign-in on first use, or AZURE_* environment variables in CI).

  • Test T364 must exist in your configured SharePoint layout (see project docs and ~/sda.json for local sync paths vs. graph discovery).

To ignore the cache and re-download from SharePoint, pass force_refresh=True.

from sda.api import load_test
print("=== Loading T364 from SharePoint (Microsoft Graph) ===")
df = load_test("T364", source="cloud")

print(f"Data shape: {df.shape}")
print(f"Columns: {list(df.columns)}")
print(df.head())