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.
1 parent fcc003d commit 5a47680Copy full SHA for 5a47680
dist/mojo_csv.mojopkg
1.83 KB
src/csv_reader.mojo
@@ -93,6 +93,9 @@ struct CsvReader[]:
93
if pos + 1 < self.length:
94
self.row_count += 1
95
col_start = pos + 1
96
+
97
+ elif pos == self.length:
98
+ self.elements.append(self.raw[col_start:pos])
99
# -------
100
# -------------
101
test.csv
@@ -1,3 +1,3 @@
1
item1,item2,"ite,em3"
2
pic, pi c,pic,
3
-r_i_1,r_i_2,r_i_3,
+r_i_1,r_i_2,r_i_3,
0 commit comments