mindsdb / type_infer

Type inference for Machine Learning pipelines
GNU General Public License v3.0
17 stars 7 forks source link

Issue handling extremely small values or NaN #39

Closed dusvyat closed 10 months ago

dusvyat commented 1 year ago

Getting the following error when loading in context data for Writer Handler demo. My hypothesis is that is happening due to some columns containing many nulls which pandas handles as NaN.

python3.9/site-packages/numpy/core/fromnumeric.py:3474: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, python3.9/site-packages/numpy/core/_methods.py:189: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount)

paxcema commented 10 months ago

Closed via #45.