This code only iterates through the number of rows once I would like to iterate through all the rows for the number of columns in the data I'm confused as to why it isn't iterating through the rows 7 times.
import csv
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
sensorData = []
longitudinal = []
transverse = []
n=0
with open('test3.csv') as csvfile:
readCsv = csv.reader(csvfile, delimiter =',')
for x in range(0,7): #problem HERE
for row in readCsv:
n+=1
sensorData.append(float(row[x]))
longitudinal.append(n)
transverse.append(x)