with 0.19.0.
In [28]: pd.to_numeric(pd.Series([1,2,3]), downcast='unsigned')
Out[28]:
0 1
1 2
2 3
dtype: uint8
In [29]: pd.to_numeric(pd.Series([0,1,2,3]), downcast='unsigned')
Out[29]:
0 0
1 1
2 2
3 3
dtype: int64
In [30]: np.iinfo(np.uint8).min
Out[30]: 0
I think 0 is a legit uint8, so [29] should be uint8.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4