From ecc6e032f808e2f0bee5090d87cae9f269307536 Mon Sep 17 00:00:00 2001 From: Doug Branton Date: Tue, 14 Nov 2023 14:05:23 -0800 Subject: [PATCH] build metadata --- src/tape/ensemble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tape/ensemble.py b/src/tape/ensemble.py index bf63af67..35eb7ead 100644 --- a/src/tape/ensemble.py +++ b/src/tape/ensemble.py @@ -615,7 +615,7 @@ def calc_nobs(self, by_band=False, label="nobs", temporary=True): # Get the band metadata unq_bands = np.unique(self._source[band_col]) - meta = {f"{band}": float for band in unq_bands} + meta = {band: float for band in unq_bands} # Map the groupby to each partition band_counts = self._source.map_partitions(