We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
header[1:]
1 parent 88e6a29 commit 01b0d27Copy full SHA for 01b0d27
clang/test/Analysis/csv2json.py
@@ -59,6 +59,7 @@ def csv_to_json_dict(csv_filepath):
59
return
60
61
header_length = len(header)
62
+ other_column_names = header[1:]
63
64
data_dict = {}
65
@@ -70,7 +71,7 @@ def csv_to_json_dict(csv_filepath):
70
71
key = row[0]
72
value_map = {}
73
- for i, col_name in enumerate(header[1:]):
74
+ for i, col_name in enumerate(other_column_names):
75
# +1 to skip the first column
76
value_map[col_name] = row[i + 1].strip()
77
0 commit comments