Python transpose list (From Stack Excchange)

From https://stackoverflow.com/questions/23525451/how-do-i-transpose-a-list ##Transpose to new list new_list=[] old_list=(item1,item2,item3,item4) new_list=map(list, zip(*old_list)) ##List is the FUNCTION that creates the list. ##Transposed list in new_list

Comments

Popular posts from this blog

Revit CSV file manager for families and re-exporting to a CSV file

Revit area plans adding new types and references (Gross and rentable)