Commit 59acfe76 authored by George Lin's avatar George Lin

correction

parent 79eb0b47
......@@ -33,6 +33,8 @@ def output_analysis(file_dir):
df = pandas.read_csv(file_dir)
header = list(df.columns.values)
print("{} : {}".format("ROWS", len(df.columns)))
for i in range(0, len(header) - 1):
field_length = df[header[i]].astype(str).map(len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment