From 62dce12eacb56870a85d561c01f6e53d0c5bcd02 Mon Sep 17 00:00:00 2001 From: Yuhan Liu <30294295+liuyuhanalex@users.noreply.github.com> Date: Sun, 26 Jan 2025 15:32:03 +0800 Subject: [PATCH] [Typo]correct a small typo (#563) --- data_juicer/core/ray_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_juicer/core/ray_data.py b/data_juicer/core/ray_data.py index 64ab7b310..b03a91cfe 100644 --- a/data_juicer/core/ray_data.py +++ b/data_juicer/core/ray_data.py @@ -115,8 +115,8 @@ def _run_single_op(self, op): def process_batch_arrow(table: pyarrow.Table): new_column_data = [{} for _ in range(len(table))] - new_talbe = table.append_column(Fields.meta, [new_column_data]) - return new_talbe + new_table = table.append_column(Fields.meta, [new_column_data]) + return new_table self.data = self.data.map_batches(process_batch_arrow, batch_format='pyarrow')