You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,7 +79,7 @@ The `DataSet` object avoids redundant work. When you initialize a `DataSet`, it
75
79
You can run the analysis pipeline step-by-step for more granular control. Each of these methods includes a `save=True` option to persist the results of that specific stage.
print(f"Primary Key for customers: {customers_dataset.source_table_model.description}")
130
131
print("Discovered Links:")
131
132
print(link_predictor.get_links_df())
132
-
133
133
```
134
+
134
135
Learn more about what you can do with these objects. See the [DataSet](./dataset.md) and [Link Prediction](./link-prediction.md) documentation.
135
136
137
+
## Utility DataFrames
138
+
139
+
The `KnowledgeBuilder` provides three convenient properties that consolidate the results from all processed datasets into single Pandas DataFrames.
140
+
141
+
### `profiling_df`
142
+
143
+
Returns a DataFrame containing the full profiling metrics for every column across all datasets.
144
+
145
+
```python
146
+
# Get a single DataFrame of all column profiles
147
+
all_profiles = kb.profiling_df
148
+
print(all_profiles.head())
149
+
```
150
+
151
+
### `links_df`
152
+
153
+
A shortcut to the `get_links_df()` method on the `LinkPredictor`, this property returns a DataFrame of all discovered relationships.
154
+
155
+
```python
156
+
# Get a DataFrame of all predicted links
157
+
all_links = kb.links_df
158
+
print(all_links)
159
+
```
160
+
161
+
### `glossary_df`
162
+
163
+
Returns a DataFrame that serves as a consolidated business glossary, listing the table name, column name, description, and tags for every column across all datasets.
0 commit comments