Skip to content

Commit

Permalink
feat: Remove pandas warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatu Aalto authored and Tatu Aalto committed Dec 9, 2022
1 parent 481bd01 commit 913841f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion failure_analysis/failure_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def run(path: str, min_threshold: float, drain_ini: str, drain_off: bool):
print("============== FAILURE END =================")
temp = df[df["failure1"] == failure]
temp = temp.sort_values("cos", ascending=True)
temp = pd.pivot_table(temp, index=["suitename2", "testname2", "filename2"])
temp = pd.pivot_table(temp, values=["cos"], index=["suitename2", "testname2", "filename2"])
pd.set_option("display.max_rows", temp.shape[0] + 1)
print(temp)

Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ def clean(ctx):

@task
def release(ctx):
ctx.run("semantic-release publish")
ctx.run("semantic-release publish --verbosity=DEBUG")

0 comments on commit 913841f

Please sign in to comment.