2.2.2 – Table Mixin Columns – conceptual background? #124
-
Wondering if that section could use some brief introduction into the concept of a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think these are good ideas and things we could address! I don't think they will get in before submission, but maybe you or one of the authors of this section (@nstarman or @mhvk) would be interested in contributing some added context or updated text to address this? |
Beta Was this translation helpful? Give feedback.
-
I've pushed a PR (#126) to rephrase the relevant sections. Reading through the paper and comparing to official python docs (https://docs.python.org/dev/library/collections.abc.html) I think it would be best to remove the word "mixin" altogether. |
Beta Was this translation helpful? Give feedback.
I've pushed a PR (#126) to rephrase the relevant sections. Reading through the paper and comparing to official python docs (https://docs.python.org/dev/library/collections.abc.html) I think it would be best to remove the word "mixin" altogether.
astropy.table
"mixin" columns are not strictly "mixins" in the Python sense, more an interoperability protocol controlled by class composition (the "info" attribute). As an aside, maybe we should coin "compin" for the compositional equivalent to inheritance's "mixin".