MCPcopy
hub / github.com/pandas-dev/pandas / test_series_str_decode

Function test_series_str_decode

pandas/tests/strings/test_strings.py:870–874  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

868
869
870def test_series_str_decode():
871 # GH 22613
872 result = Series([b"x", b"y"]).str.decode(encoding="UTF-8", errors="strict")
873 expected = Series(["x", "y"], dtype="str")
874 tm.assert_series_equal(result, expected)
875
876
877def test_decode_with_dtype_none():

Callers

nothing calls this directly

Calls 2

SeriesClass · 0.90
decodeMethod · 0.80

Tested by

no test coverage detected