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(