Просмотр исходного кода

refactor: Update default sample size in extract_sample_data function

mrh 1 год назад
Родитель
Сommit
dae4cd8d56
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      mylib/translate_utils.py

+ 1 - 1
mylib/translate_utils.py

@@ -24,7 +24,7 @@ def insert_empty_columns(data: List[List[str]], column_indices: List[int]) -> Li
         logger.error(f"Error inserting empty columns: {e}")
         logger.error(f"Error inserting empty columns: {e}")
         raise
         raise
 
 
-def extract_sample_data(data: List[List[str]], n: int = 2, m: int = 2) -> List[List[str]]:
+def extract_sample_data(data: List[List[str]], n: int = 3, m: int = 2) -> List[List[str]]:
     """提取前n行m列数据用于检查"""
     """提取前n行m列数据用于检查"""
     try:
     try:
         sample = []
         sample = []