s-leroux / fin

Set of tools for personal investment
MIT License
1 stars 0 forks source link

Table should know if/how their rows are sorted #2

Closed s-leroux closed 3 months ago

s-leroux commented 1 year ago

Some table functions (like join()) require the table rows to be sorted. We could enforce that.

Idea: when calling table.sort(), the Table instance could remember the key used so we could check that when required.

s-leroux commented 3 months ago

Starting with the v0.2.0 implementation, the index is an explicit property of the Serie class instances.