I’ve been working with a lister a good bit lately, and as soon as I think I’ve got a clear handle on the documentation, I suddenly find that I’m not so sure that I do.
@Ivan I hate to summon you directly here … but boy golly would I love a push in the right direction.
With that in mind…
Tables
I’ve got a good handle on how general tables work:
So far no questions.
Lists of Lists
Where it does get squirly for me is with python data types as inputs. Constructing a list of lists, I’m seeing the contents of my lists show up in Lister…
My list of lists looks like:
listOfLIsts = [['1', '2', '3', '4'],
['5', '6', '7', '8'],
['9', '10', '11', '12']]
Where I’m flummoxed is that I would expect that each list would be a new column… but instead each new list is a new row:
I think that’s actually working as expected… it’s just confusing form a data construction point, and I’m happy to get over this mental block as long as I’m correctly understanding that each list resents a row and not a column.
Dictionaries
I have no idea how this works…
Nothing I’ve tried has worked here and it’s been a real head scratcher - so any nudge would be HUGELY appreciated.
List of Python Objects
This one I also think I understand - lister receives a list of python objects, and their members can in turn be used for columns - which is super rad.
Summary
Big questions:
- When giving lister a list of lists each lists is a row, not a column - correct?
- When giving lister a dictionary… How on earth does this work?
Attached is a quick tox that I’ve been using to wrap my head around this.
Thanks in advance!
base-lister-what-now.tox (180.6 KB)