Is there a way to print a beautiful table on the console using Rust? In the python world, I could create a numpy or pandas dataframe array to store data values and then print them to the console, looking like this:
f1 f2 f3 m1 m2 m3
0 14.000000 3.000000 19.000000 37.000000 28.000000 239.000000
1 14.279622 4.046231 19.202175 36.720378 26.228172 238.797825
2 14.530399 5.098601 19.413289 36.469601 24.454171 238.586711
3 14.755486 6.153470 19.633712 36.244514 22.681652 238.366288
Is there any way to do this in Rust with arbitrary precision?
I looked at the vector and array data types. Although multidimensional arrays are possible in Rust, I really have not seen anyone print beautifully formatted tables like the ones above.
source
share