Pandas parsing delimited file
Jump to navigation
Jump to search
No header space delimited
import pandas as pd df = pd.read_csv('virtualsevers.out', header=None, sep='\s+') df[0][0] for index, row in df.iterrows(): if row[3] != '0': print(row[0])