apjanke / octave-tablicious

Table (relational, tabular data) implementation for GNU Octave
https://apjanke.github.io/octave-tablicious/
GNU General Public License v3.0
29 stars 11 forks source link

printf support for datetime, categorical, etc #61

Open apjanke opened 4 years ago

apjanke commented 4 years ago

In Matlab, you can pass datetime, categorical, and related arrays to '%s' conversion specifiers, and it works. Update Tablicious to do this.

apjanke commented 4 years ago

Could pull in the dispstr API to do this, but I don't know if that's a good idea, since Tablicious' goal is to eventually be accepted into core Octave, and dispstr is not standard Matlab functionality.

PratyushD35 commented 3 years ago

@apjanke I am a beginner and wanted to contribute. Can you guide me to solve the issue?

apjanke commented 3 years ago

Hi, Pratyush!

I'm afraid I can't: I'm still not entirely sure how this feature should work, and I'm still thinking through its design and behavior in my head. In particular, I don't know if I should introduce dispstr-API-related stuff, and I'm not sure how nonscalar arrays should convert in this context.