From 91a0ec32ca3d9e05906c5b2fabb3e95d2336aa8a Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 4 Dec 2024 13:15:44 +0200 Subject: [PATCH] fixed duplication --- src/sempy_labs/_dax.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sempy_labs/_dax.py b/src/sempy_labs/_dax.py index 020e326..d6434a6 100644 --- a/src/sempy_labs/_dax.py +++ b/src/sempy_labs/_dax.py @@ -159,7 +159,7 @@ def get_dax_query_dependencies( ] final_df = final_df.drop_duplicates().reset_index(drop=True) final_df = final_df.rename(columns={"Table": "Table Name", "Object": "Column Name"}) - final_df.drop(columns=["Object Type"]) + final_df.drop(columns=["Object Type"], inplace=True) if not show_vertipaq_stats: return final_df