We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02675e3 commit 11bc51dCopy full SHA for 11bc51d
pandas/tests/series/test_arithmetic.py
@@ -66,6 +66,14 @@ def test_add_series_with_period_index(self):
66
with pytest.raises(IncompatibleFrequency, match=msg):
67
ts + ts.asfreq("D", how="end")
68
69
+ def test_string_addition(self):
70
+ # GH28658
71
+ a = Series(["hello", "world"])
72
+
73
+ result = a + "!"
74
+ expected = Series(["hello!", "world!"])
75
+ assert_series_equal(result, expected)
76
77
78
# ------------------------------------------------------------------
79
# Comparisons
0 commit comments