improve the error message when handling ndarray with unsupported dtype (#19949)
* impove error message when passing ndarray with object dtype * imporve message format * change assert to raise TypeError * remind user how to locate the irregular data instead of printing * add unittest for input array type check
Showing
想要评论请 注册 或 登录