jack 1 week ago
parent
commit
938b879791
1 changed files with 2 additions and 1 deletions
  1. 2 1
      py/core/parsers/structured/csv_parser.py

+ 2 - 1
py/core/parsers/structured/csv_parser.py

@@ -112,7 +112,8 @@ class CSVParserAdvanced(AsyncParser[str | bytes]):
         for row_num, row in enumerate(csv_reader):
             print(row)
             chunk_rows.append(row)
-            if row_num % num_rows == 0:
+            #if num_rows > 0 and row_num > 0 and row_num % num_rows == 0:
+            if True:
                 yield (
                     ", ".join(header)
                     + "\n"