We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 768c521 commit 6d0ae9cCopy full SHA for 6d0ae9c
pandas/tests/reshape/concat/test_concat.py
@@ -642,16 +642,15 @@ def test_concat_multiindex_with_empty_rangeindex():
642
643
def test_concat_posargs_deprecation(all_parsers):
644
# https://github.com/pandas-dev/pandas/issues/41485
645
- df = pd.DataFrame([[1,2,3]], index=["a"])
646
- df2 = pd.DataFrame([[4,5,6]], index=["b"])
+ df = pd.DataFrame([[1, 2, 3]], index=["a"])
+ df2 = pd.DataFrame([[4, 5, 6]], index=["b"])
647
648
msg = (
649
"In a future version of pandas all arguments of concat"
650
"except for the argument 'objs' will be keyword-only"
651
)
652
with tm.assert_produces_warning(FutureWarning, match=msg):
653
- result = concat([df, df2], " ")
654
- expected = DataFrame([[1,2,3],[4,5,6]], index=["a","b"])
+ result = concat([df, df2], " ")
+ expected = DataFrame([[1, 2, 3],[4, 5, 6]], index=["a", "b"])
655
tm.assert_frame_equal(result, expected)
656
-
657
0 commit comments