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 2614da3 commit 9ec54caCopy full SHA for 9ec54ca
pandas/tests/test_frame.py
@@ -7338,6 +7338,14 @@ def test_applymap(self):
7338
result = df.applymap(lambda x: x)
7339
self.assert_(result.dtypes[0] == object)
7340
7341
+ # GH2786
7342
+ df = DataFrame(np.random.random((3,4)))
7343
+ df.columns = ['a','a','a','a']
7344
+ try:
7345
+ df.applymap(str)
7346
+ except ValueError as e:
7347
+ self.assertTrue("support" in str(e))
7348
+
7349
def test_filter(self):
7350
# items
7351
0 commit comments