arthur-common 2.1.57__tar.gz → 2.1.58__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of arthur-common might be problematic. Click here for more details.
- {arthur_common-2.1.57 → arthur_common-2.1.58}/PKG-INFO +1 -1
- {arthur_common-2.1.57 → arthur_common-2.1.58}/pyproject.toml +1 -1
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/aggregator.py +4 -4
- {arthur_common-2.1.57 → arthur_common-2.1.58}/README.md +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/__init__.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/__init__.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/README.md +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/__init__.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/agentic_aggregations.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/categorical_count.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/confusion_matrix.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/inference_count.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/inference_count_by_class.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/inference_null_count.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/mean_absolute_error.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/mean_squared_error.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/multiclass_confusion_matrix.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/multiclass_inference_count_by_class.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/numeric_stats.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/numeric_sum.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/py.typed +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/shield_aggregations.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/py.typed +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/config/__init__.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/config/config.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/config/settings.yaml +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/__init__.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/connectors.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/datasets.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/metrics.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/py.typed +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/schema_definitions.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/shield.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/task_job_specs.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/py.typed +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/__init__.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/aggregation_analyzer.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/aggregation_loader.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/duckdb_data_loader.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/duckdb_utils.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/functions.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/py.typed +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/schema_inferer.py +0 -0
- {arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/time_utils.py +0 -0
|
@@ -130,8 +130,8 @@ class NumericAggregationFunction(AggregationFunction, ABC):
|
|
|
130
130
|
)
|
|
131
131
|
return NumericTimeSeries(values=values, dimensions=[])
|
|
132
132
|
|
|
133
|
+
@staticmethod
|
|
133
134
|
def series_to_metric(
|
|
134
|
-
self,
|
|
135
135
|
metric_name: str,
|
|
136
136
|
series: list[NumericTimeSeries],
|
|
137
137
|
) -> NumericMetric:
|
|
@@ -151,8 +151,8 @@ class SketchAggregationFunction(AggregationFunction, ABC):
|
|
|
151
151
|
) -> list[SketchMetric]:
|
|
152
152
|
raise NotImplementedError
|
|
153
153
|
|
|
154
|
+
@staticmethod
|
|
154
155
|
def group_query_results_to_sketch_metrics(
|
|
155
|
-
self,
|
|
156
156
|
data: pd.DataFrame,
|
|
157
157
|
value_col: str,
|
|
158
158
|
dim_columns: list[str],
|
|
@@ -172,7 +172,7 @@ class SketchAggregationFunction(AggregationFunction, ABC):
|
|
|
172
172
|
groups = data.groupby(dim_columns, dropna=False)
|
|
173
173
|
for _, group in groups:
|
|
174
174
|
calculated_metrics.append(
|
|
175
|
-
|
|
175
|
+
SketchAggregationFunction._group_to_series(group, timestamp_col, dim_columns, value_col),
|
|
176
176
|
)
|
|
177
177
|
|
|
178
178
|
return calculated_metrics
|
|
@@ -222,8 +222,8 @@ class SketchAggregationFunction(AggregationFunction, ABC):
|
|
|
222
222
|
|
|
223
223
|
return SketchTimeSeries(values=values, dimensions=dimensions)
|
|
224
224
|
|
|
225
|
+
@staticmethod
|
|
225
226
|
def series_to_metric(
|
|
226
|
-
self,
|
|
227
227
|
metric_name: str,
|
|
228
228
|
series: list[SketchTimeSeries],
|
|
229
229
|
) -> SketchMetric:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/README.md
RENAMED
|
File without changes
|
{arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/aggregations/functions/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/models/schema_definitions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arthur_common-2.1.57 → arthur_common-2.1.58}/src/arthur_common/tools/aggregation_analyzer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|