Nov-14-2022, 08:25 PM
I was solving the wrong problem. I saw CSV and rounding and immediately jumped to the conclusion that you were not happy about losing precision when saving your numpy array to a file. That is the complaint in 99.9% of posts that include "csv" and "rounding" in their topic. Sorry for wasting your time.
Curious though, why do you want to round floats to 3 digits in a csv file? It's not like csv is a presentation format.
Curious though, why do you want to round floats to 3 digits in a csv file? It's not like csv is a presentation format.