Skip to content

Commit 0d719ae

Browse files
add code sample for pandas-dev#38607
1 parent 33f7906 commit 0d719ae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bisect/38607.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import pandas as pd
2+
3+
print(pd.__version__)
4+
5+
idx = pd.Index(["あ", b"a"], dtype="object")
6+
7+
res = idx.astype(str)
8+
print(res)
9+
10+
assert res[1] == "a"

0 commit comments

Comments
 (0)