python get columns from list