Skip to content

Commit

Permalink
transpose scores when logging
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewm4894 committed Jun 17, 2023
1 parent 0533107 commit 4cba5b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airflow_anomaly_detection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = "0.0.24"
__version__ = "0.0.25"

def get_provider_info():
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def execute(self, context: Any):
df_scores_tmp['metric_timestamp'] = df_X['metric_timestamp'].values

if context['params'].get('log_scores', False):
self.log.info(df_scores_tmp.to_string())
self.log.info(df_scores_tmp.transpose().to_string())

# append to df_scores
df_scores = df_scores.append(df_scores_tmp)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "airflow-provider-anomaly-detection"
version = "0.0.24"
version = "0.0.25"
authors = [
{ name="andrewm4894", email="[email protected]" },
]
Expand Down

0 comments on commit 4cba5b9

Please sign in to comment.