[Numpy-discussion] Re: Suggestions for changes to the polynomial module

2023-08-29 Thread jsdodge
Hi Pieter, Thanks for pointing this PR out. That certainly fixes the immediate problem with the inconsistent print statements that I highlighted in my original message. It doesn't address the more fundamental problem, though, which is that the default behavior is to represent the polynomial in

[Numpy-discussion] Re: Suggestions for changes to the polynomial module

2023-08-28 Thread jsdodge
To follow up on these comments, an enhancement proposal (https://github.com/numpy/numpy/pull/20889), which would enable numpy.polynomial.polynomial.polyfit to return the covariance matrix, appears to be moving forward. This is great news, and addresses item (1) of my previous message. After th

[Numpy-discussion] Suggestions for changes to the polynomial module

2023-08-28 Thread jsdodge
g multiple GitHub issues that span over five years. I'm interested in this module because I've prepared some educational resources for using Python to do data analysis in the physical sciences (https://github.com/jsdodge/data-analysis-python), and these include how to use numpy.polyfit fo