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 4967f14 commit 3cc40f2Copy full SHA for 3cc40f2
pandas/tests/frame/test_apply.py
@@ -785,13 +785,13 @@ def non_reducing_function(val):
785
df.applymap(func)
786
assert values == df.a.to_list()
787
788
- def test_apply_with_byte_string(self):
789
- #GH-34529
+ def test_apply_with_byte_string(self):
+ # GH 34529
790
try:
791
df = pd.DataFrame(np.array([b'abcd', b'efgh']), columns=['col'])
792
df.apply(lambda x: x.astype('object'))
793
except OSError as err:
794
- tm.external_error_raised(a)
+ tm.external_error_raised(err)
795
796
class TestInferOutputShape:
797
# the user has supplied an opaque UDF where
0 commit comments