Skip to content

Commit

Permalink
Fixes test_then_dataframe on Python 3.10 #401
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacdonald authored Oct 10, 2023
2 parents 6698e36 + 770ef32 commit bd980b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def test_then_dataframe(self):
topicsSource = pd.DataFrame([["1", "AA"]], columns=["qid", "query"])

def rewrite(topics):
topics = topics.copy()
for index, row in topics.iterrows():
row["query"] = row["query"] + " test"
return topics
Expand Down

0 comments on commit bd980b9

Please sign in to comment.