Skip to content

Commit ba3494c

Browse files
meeseeksmachinephofldatapythonista
authored
Backport PR #48398 on branch 1.5.x (WARN: Avoid FutureWarnings in tests) (#48420)
* Backport PR #48398: WARN: Avoid FutureWarnings in tests * Update Co-authored-by: Patrick Hoefler <[email protected]> Co-authored-by: Marc Garcia <[email protected]>
1 parent 0f8bece commit ba3494c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/methods/test_fillna.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,6 @@ def test_fillna_nonconsolidated_frame():
777777
],
778778
columns=["i1", "i2", "i3", "f1"],
779779
)
780-
df_nonconsol = df.pivot("i1", "i2")
780+
df_nonconsol = df.pivot(index="i1", columns="i2")
781781
result = df_nonconsol.fillna(0)
782782
assert result.isna().sum().sum() == 0

0 commit comments

Comments
 (0)