Given a list of lists like
a = [["a","b","c"],
["d","e","f"],
["g","h","i"]]
how can I efficiently get a single column (e.g. ["b","e","h"]) or a slice of a column (e.g. ["e","h"])? Unfortunately I can't switch to numpy...
Given a list of lists like
a = [["a","b","c"],
["d","e","f"],
["g","h","i"]]
how can I efficiently get a single column (e.g. ["b","e","h"]) or a slice of a column (e.g. ["e","h"])? Unfortunately I can't switch to numpy...