We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d522438 commit b717007Copy full SHA for b717007
pandas/tests/series/methods/test_append.py
@@ -71,6 +71,11 @@ def test_append_dataframe(self):
71
72
tm.assert_series_equal(expected, result)
73
74
+ msg = "to_append should be a Series or list/tuple of Series, got " \
75
+ "<class 'pandas.core.frame.DataFrame'>"
76
+ with pytest.raises(TypeError, match=msg):
77
+ df.A.append(df)
78
+
79
class TestSeriesAppendWithDatetimeIndex:
80
def test_append(self):
81
rng = date_range("5/8/2012 1:45", periods=10, freq="5T")
0 commit comments