Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python loop to write across columns in CSV
- for i in range(0, len(data)-lg):
- writer.writerow([data[i][0], data[i][1], data[i][2],...])
- for i in range(0, len(data)-lg):
- for j in range(0, lg+6):
- writer.writerow([data[i][j]])
- num_cols = lg + 6
- for row in data:
- writer.writerow(row[:num_cols])
- writer.writerows(data)
- for row in data:
- writer.writerow(row)
- for x in data:
- writer.writerow(x)
Add Comment
Please, Sign In to add comment