Info "stats" looks horrible (since numpy 1.14)
See original GitHub issueWith numpy 1.14+ much of the formatting got much better, but info('stats') is not one of them:
t = QTable([[1.0, 1.1, 1.2]])
t.info('stats')
<QTable length=3>
name mean std min max
---- ------------------ ------------------- --- ---
col0 1.0999999999999999 0.08164965809277258 1.0 1.2
where before it was
<QTable length=3>
name mean std min max
---- ---- --------------- --- ---
col0 1.1 0.0816496580928 1.0 1.2
Basically, the rounding rules changed. In the doctests, it was a change like in mean that made it look horrible, but in this example one sees it can be bad without too. I think we basically need to set some default format for columns that uses a sensible number of digits.
cc @taldcroft
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
3.1 Feature Planning · GitHub
Info "stats" looks horrible (since numpy 1.14) #6962 opened by mhvk. Feature Request table utils. 1 linked pull request. Loading... From Needs decision....
Read more >Conda downgrade numpy version - python - Stack Overflow
I need to downgrade numpy version: python -c "import numpy; print(numpy.__version__)" 1.16.4. conda install numpy==1.14.3
Read more >Release Notes — NumPy v1.14 Manual
When that argument is not provided, a broken version of np.frombuffer is used that silently accepts unicode strings and – after encoding them...
Read more >NumPy User Guide
NumPy is the fundamental package for scientific computing in Python. It is a Python library that provides a multidi-.
Read more >reticulate 1.14 together with Miniconda3 and tensorflow not ...
Hi,- I was very excited to read Kevin Ushey's 2019-12-20 blog contribution on reticulate 1.4, since it promised to make using Python power, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Now that we only support numpy versions that have this change (as well as we can change this now in the new LTS more easily than waiting longer along the road when downstream should support multiple things), it would be nice to come up with a solution for this.
Yes, good change! Closing…