Skip to content

Commit

Permalink
Remove inplace on column
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvallat committed May 25, 2024
1 parent e74eaa3 commit 2884790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pingouin/pairwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ def pairwise_tests(

# Rename Time columns
if contrast in ["multiple_within", "multiple_between", "within_between"] and interaction:
stats["Time"].fillna("-", inplace=True)
stats.rename(columns={"Time": factors[0]}, inplace=True)
stats["Time"] = stats["Time"].fillna("-")
stats = stats.rename(columns={"Time": factors[0]})

return _postprocess_dataframe(stats)

Expand Down

0 comments on commit 2884790

Please sign in to comment.