Skip to content

Commit edec493

Browse files
Fix issue probably-meant-fstring found at https://codereview.doctor (#46855)
1 parent 976404b commit edec493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/transform/test_transform.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ def demean_rename(x):
10431043
if isinstance(x, Series):
10441044
return result
10451045

1046-
result = result.rename(columns={c: "{c}_demeaned" for c in result.columns})
1046+
result = result.rename(columns={c: f"{c}_demeaned" for c in result.columns})
10471047

10481048
return result
10491049

0 commit comments

Comments
 (0)