I was wondering why the pd.to_numeric method cannot downcast to np.float16.
The code says:
# pandas support goes only to np.float32,
# as float dtypes smaller than that are
# extremely rare and not well supported
Link to code: https://github.com/pandas-dev/pandas/blob/baa77c33fb71c29acea21ba06adaf426ed4cb561/pandas/core/tools/numeric.py#L164
Extremely rare? I have a lot of DataFrames with values that perfectly fit into a np.float16 array.
Not well supported? Can you give more details?
Thanks!!