Remove unused object `EachClusterWeight`
@@ -2358,9 +2358,7 @@ class GeneratorClusters:
_df["region"] = region
_df["unit_id_pudl"] = "0"
df_1 = df.reset_index(drop=True)
- EachClusterWeight = [None] * num_clusters[region][tech]
for k in range(num_clusters[region][tech]):
- EachClusterWeight[k] = len(clusters.labels_[clusters.labels_ == k])
_df["unit_id_pudl"][k + 1] = list(
df_1.loc[list(np.where(clusters.labels_ == k)[0])][
"unit_id_pudl"
