Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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