pthelma 2.0.0__cp311-cp311-musllinux_1_2_x86_64.whl → 2.1.1__cp311-cp311-musllinux_1_2_x86_64.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 +164 -164
- haggregate/regularize.cpython-311-x86_64-linux-musl.so +0 -0
- pthelma/_version.py +2 -2
- {pthelma-2.0.0.dist-info → pthelma-2.1.1.dist-info}/METADATA +3 -2
- {pthelma-2.0.0.dist-info → pthelma-2.1.1.dist-info}/RECORD +23 -23
- {pthelma-2.0.0.dist-info → pthelma-2.1.1.dist-info}/WHEEL +1 -1
- rocc/calculation.c +166 -166
- rocc/calculation.cpython-311-x86_64-linux-musl.so +0 -0
- {pthelma-2.0.0.dist-info → pthelma-2.1.1.dist-info}/LICENSE.rst +0 -0
- {pthelma-2.0.0.dist-info → pthelma-2.1.1.dist-info}/entry_points.txt +0 -0
- {pthelma-2.0.0.dist-info → pthelma-2.1.1.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
|
|