New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
int values are being stringified with floating points #793
Comments
Weird. Calling the sketching lib with a numpy thing works:
|
One thing is the arr.dtype in metrics.py:445 is that it shows up as int64 |
np.array([1,1, 1]).dtype is also int64 |
Ohhh so we're passing as Pandas Series in whylogs, and somehow it turns into float in numpy conversion |
This PR will fix it: #794 |
Nice root cause analysis, thanks for the details and investigation Andy! |
This issue is stale. Remove stale label or it will be closed tomorrow. |
Fixed by #794 |
Description
Expected to see only "1", not "1.0000"
The actual output:
Related
I suspect somehow the Python code is passing the numpy array as float type, but I'm not sure
The text was updated successfully, but these errors were encountered: