Skip to content

Commit 3cd6faa

Browse files
committed
fix f-string for 3.10
1 parent 878f4c8 commit 3cd6faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nested_pandas/nestedframe/test_nestedframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ def offset_avg(offset, col_to_avg, column_names):
11491149
# Verify that we can understand a string argument to the map_rows function,
11501150
# so long as it isn't a column name.
11511151
def make_id(row, prefix_str):
1152-
return f"{prefix_str}{row["b"]}"
1152+
return f"{prefix_str}{row['b']}"
11531153

11541154
result = nf.map_rows(make_id, columns="b", prefix_str="some_id_")
11551155
assert result[0][1] == "some_id_4"

0 commit comments

Comments
 (0)