Synced repo using 'sync_with_huggingface' Github Action
Browse files
utils.py
CHANGED
|
@@ -113,8 +113,7 @@ def get_unique_values(engine:Engine, table:Table) -> str:
|
|
| 113 |
|
| 114 |
output_str = f"Unique values of each column in {table.name}: \n"
|
| 115 |
for column, values in unique_values.items():
|
| 116 |
-
|
| 117 |
-
output_str += f"{column} has {len(values)} unique values: {" ".join(values[:20])}"
|
| 118 |
if len(values) > 20:
|
| 119 |
output_str += ", ...."
|
| 120 |
output_str += "\n"
|
|
|
|
| 113 |
|
| 114 |
output_str = f"Unique values of each column in {table.name}: \n"
|
| 115 |
for column, values in unique_values.items():
|
| 116 |
+
output_str += f"{column} has {len(values)} unique values: {' '.join(values[:20])}"
|
|
|
|
| 117 |
if len(values) > 20:
|
| 118 |
output_str += ", ...."
|
| 119 |
output_str += "\n"
|