jack 3 주 전
부모
커밋
938b879791
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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"