by qwhelan · 6y ago · 0 comments
It was released in 0.24.0: https://pandas.pydata.org/pandas-docs/stable/user_guide/inte...
For example:
pd.DataFrame({"foo": [1,2,3,4,None]}, dtype=pd.Int64Dtype())
foo
0 1
1 2
2 3
3 4
4 <NA>
pd.DataFrame({"foo": [1,2,3,4,None,9223372036854775807,9223372036854775806]}, dtype=pd.Int64Dtype())
foo
0 1
1 2
2 3
3 4
4 <NA>
5 9223372036854775807
6 9223372036854775806The example with the (incorrect) join above shows how even other operations can cause this type conversion.