larray-project / larray

N-dimensional labelled arrays in Python
https://larray.readthedocs.io/
GNU General Public License v3.0
8 stars 6 forks source link

Implement Array.to_string or something similar #1011

Open gdementen opened 1 year ago

gdementen commented 1 year ago

The only way we can display an array is via str(a), which can't take arguments. Yes, we can set_options but that's not as discoverable and when experimenting it's annoying to have to call two seperate methods.

Pandas calls this method to_string