Skip to content

Commit 36611b8

Browse files
code sample for pandas-dev#44923
1 parent 88bc136 commit 36611b8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

bisect/44923.py

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# BUG: using dtype='int64' argument of Series causes ValueError: values cannot
2+
# be losslessly cast to int64 for integer strings #44923
3+
4+
import pandas as pd
5+
6+
print(pd.__version__)
7+
8+
result = pd.Series(["1", "2"], dtype="int64")
9+
print(result)

0 commit comments

Comments
 (0)