Skip to content

Commit

Permalink
[Typo]correct a small typo (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyuhanalex authored Jan 26, 2025
1 parent ba40e47 commit 62dce12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_juicer/core/ray_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 62dce12

Please sign in to comment.