Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Your file has been submitted successfully. We’re processing it now - please check back in a few minutes to view your report.
03-21-2025 14:18 PM - last edited 03-24-2025 12:59 PM
Download this notebook from: semantic-link-labs/notebooks/Delta Analyzer.ipynb at main · microsoft/semantic-link-labs · GitHub
Install the latest .whl package
Check here to see the latest version.
%pip install semantic-link-labs
import sempy_labs as labs table_name = 'MyTable' # Enter the name of the delta table lakehouse = 'MyLakehouse' # Enter the name or ID of the lakehouse in which the delta table resides workspace = 'MyWorkspace' # Enter the name or ID of the workspace in which the lakehouse resides
x = labs.delta_analyzer(
table_name=table_name,
lakehouse=lakehouse,
workspace=workspace
)for name, df in x.items():
print(name)
display(df)x = labs.delta_analyzer(
table_name=table_name,
approx_distinct_count=False,
lakehouse=lakehouse,
workspace=workspace
)The export always appends results to the delta tables
x = labs.delta_analyzer(
table_name=table_name,
lakehouse=lakehouse,
workspace=workspace,
export=True
)
https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fsemantic-link-labs%2Fblob%2Fmain%2Fnotebooks%2FDelta%2520Analyzer.ipynb