segmentation_clustering: log distribution of snapshot durations (fix)
This commit is contained in:
parent
29b24b1b41
commit
cf5f3cbd88
@ -3481,7 +3481,7 @@ def apply_time_segmentation(
|
|||||||
sn_weightings = pd.Series(
|
sn_weightings = pd.Series(
|
||||||
weightings, index=snapshots, name="weightings", dtype="float64"
|
weightings, index=snapshots, name="weightings", dtype="float64"
|
||||||
)
|
)
|
||||||
logger.info("Distribution of snapshot durations:\n", weightings.value_counts())
|
logger.info(f"Distribution of snapshot durations:\n{weightings.value_counts()}")
|
||||||
|
|
||||||
n.set_snapshots(sn_weightings.index)
|
n.set_snapshots(sn_weightings.index)
|
||||||
n.snapshot_weightings = n.snapshot_weightings.mul(sn_weightings, axis=0)
|
n.snapshot_weightings = n.snapshot_weightings.mul(sn_weightings, axis=0)
|
||||||
|
Loading…
Reference in New Issue
Block a user