pthelma 2.0.0__cp312-cp312-musllinux_1_2_i686.whl → 2.1.0__cp312-cp312-musllinux_1_2_i686.whl
Sign up to get free protection for your applications and to get access to all the features.
- haggregate/haggregate.py +2 -2
- haggregate/regularize.c +123 -123
- haggregate/regularize.cpython-312-i386-linux-musl.so +0 -0
- pthelma/_version.py +2 -2
- {pthelma-2.0.0.dist-info → pthelma-2.1.0.dist-info}/METADATA +2 -2
- {pthelma-2.0.0.dist-info → pthelma-2.1.0.dist-info}/RECORD +23 -23
- {pthelma-2.0.0.dist-info → pthelma-2.1.0.dist-info}/WHEEL +1 -1
- rocc/calculation.c +123 -123
- rocc/calculation.cpython-312-i386-linux-musl.so +0 -0
- {pthelma-2.0.0.dist-info → pthelma-2.1.0.dist-info}/LICENSE.rst +0 -0
- {pthelma-2.0.0.dist-info → pthelma-2.1.0.dist-info}/entry_points.txt +0 -0
- {pthelma-2.0.0.dist-info → pthelma-2.1.0.dist-info}/top_level.txt +0 -0
haggregate/haggregate.py
CHANGED
@@ -75,8 +75,8 @@ class Aggregation:
|
|
75
75
|
def get_result_flags(self):
|
76
76
|
max_count = int(pd.Timedelta(self.result.time_step) / self.source.freq)
|
77
77
|
values_count = self.resampler.count()
|
78
|
-
self.result.data["flags"] = (
|
79
|
-
lambda x: self.missing_flag if x else ""
|
78
|
+
self.result.data["flags"] = (max_count - values_count).apply(
|
79
|
+
lambda x: self.missing_flag.format(x) if x else ""
|
80
80
|
)
|
81
81
|
|
82
82
|
|