I have a list created after perforing basic filter in a WHILE loop. now I want each of my list ros in a single DataFrame That I can access outside the loop.
the code I have is
filePath = "pinToBall_Bump.csv"
with open(filePath, 'r') as inpFile:
line = inpFile.readline()
while line:
# print(line)
filter1 = re.sub(r'^[io_]+', "", line)
filter2 = re.sub(r'^[gddr6_]+', "", filter1)
filterList = filter2.split(",")
print(filterList)
line = inpFile.readline()